Question: Write a complete C++ program with the following functions. To calculate monthly payment - call made to function named calculate Payment. The formula for
Write a complete C++ program with the following functions. To calculate monthly payment - call made to function named calculate Payment. The formula for the monthly payment is: P = loan *irate / [1-(1 + irate)"], where, loan is the amount of loan. irate is the monthly interest rate (annual rate/12); n is the duration of the loan in months The relation for total interest is, Itot = n*P - loan To calculate deposit required - call made to function named calculate Deposit and calculate is made based on TABLE Q5. To display loan summary - call made to Sub name ShowSummary to display information such as total loan, total interest, number of month, deposit and monthly payment. -END OF PAPER- [20 marks]
Step by Step Solution
3.40 Rating (162 Votes )
There are 3 Steps involved in it
Heres a complete C program that includes the specified functions include include Function to calcula... View full answer
Get step-by-step solutions from verified subject matter experts
