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 a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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