Write a program which calculates and displays the cash flow

Assignment Help Programming Languages
Reference no: EM131298938

Write a program which calculates and displays the cash flow for a given loan. The type of the loan is equal instalments, i.e. the interest amount reduces when the principal amount reduces. You can assume monthly payments and that exactly one month passes from the issue date to the first instalment and that monthly interest rate is equal to yearly interest rate / 12. The main program asks the user for the principal amount, yearly interest rate, and the number of instalments. Then the program displays the projected cashflow, i.e. for each instalment it displays the instalment number, the remainder of the principal, the instalment amount, the interest paid, and the total amount.
you need to modify the class Loan and the function readData(). the following main is given:

int main()
{
double amount, interestRate;
int numPayments;
readData(amount, interestRate, numPayments);
Loan myLoan(amount, interestRate, numPayments);
myLoan.displaySchedule();
return 0;
}

Reference no: EM131298938

Questions Cloud

Describe the industry structure : Describe the industry structure. Include things such as competition, suppliers, material changes, pricing, etc. Make your answer somewhat predictive of how you believe the industry is evolving.
What is the free cash flow : Assume that you recently graduated and have just reported to work as an investment advisor at the one of the firms on Wall Street. What is the free cash flow for 2014
Role of a small-business consultant : Place yourself in the role of a small-business consultant. One of clients, Home Solutions, is considering opening two new stores. You know that businesses often experience cash flow problems due to continuous changes that occur in the industry, su..
Determining the rate of global warming : What would/will happen to the rate of global warming if we eliminate air pollution and thus global dimming?
Write a program which calculates and displays the cash flow : Write a program which calculates and displays the cash flow for a given loan. The type of the loan is equal instalments, i.e. the interest amount reduces when the principal amount reduces.
Steve jobs-ten lessons in leadership : In an analysis of 750-900 words, examine the theoretical framework, style, and leadership traits presented in the story. Discuss how this particular individual has adopted leadership as a vocation.
Video assessment-leadership : Please watch the TED Talk by Sheryl Sandberg If you are unable to see the video in Canvas please click here (Links to an external site.)
Estimate the value of the business as of the end of month : Case - Basic Capital Budgeting Analysis. Estimate the value of the business as of the end of month 36 (the horizon value) using at least two different methods
How does each firm recognize revenue : Revenue Recognition and Operating Income - How does each firm recognize revenue and how does its revenue recognition policies compare to its competitors? Is there evidence of aggressive revenue recognition

Reviews

Write a Review

Programming Languages Questions & Answers

  Write specifications for method of pre- and post-conditions

Write down specifications for method which advances any given date by one day. Write down statement of purpose, pre- and post-conditions, and description of parameters.

  Define a class named document that contains an variable

Define a class named Document that contains an instance variable of type String named text that stores any textual content for the document. Create a method named toString that returns the text field and also include a method to set this value.

  Program to report page number and offset of virtual address

Your program will report page number and offset of given virtual address with specified page size. Page sizes should be specified as power of 2 in the range 1024-16384 (inclusive).

  Write a recursive function which accepts a string

Write a recursive function which accepts a string and its length and determines if the string is a palindrome. A palindrome is a string that reads the same frontwards and backwards.

  Write program to prints the question

Write a program that prints the question"do you want to continue?" and reads a user input. if the user input is"y", "yes", "ok", "sure", or "why not?".

  Build your own maze

Build your own maze and make it so easy so i can understand it. try to use for while statement. it is an easy task so please do not make it complicated and follow the instructions that im going to post. another thing do not use the maze that in th..

  Explaining valid advice for naming variables

Which of the following is valid advice for naming variables? To save typing, make most variable names one or two letters.

  Which microsoft os below is the least intrusive

Which Microsoft OS below is the least intrusive to disks in terms of changing data?a. windows 95b. windows xp

  Create a class called pizzaorder

Create a class called PizzaOrder that has the following members: toppingsOffered[] - a constant array of Strings representing the choice of low-price toppings, e.g., { "onions", "bell peppers", "olives", "pepperoni"... }. This member is public and..

  Write program which permits user to enter first name

Write the program which permits the user to enter first names of candidates in university election and number of votes received by each candidate.

  Develop logic to accept number of passengers-zones as input

Develop the logic for a program that accepts the number of passengers and zones crossed as input. the output is the ticket charge.

  Topic-1beyond the notion of input gt transformation gt

topic-1beyond the notion of input gt transformation gt output the behavior of systems contains a number of other

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd