Question: Write a C++ function that takes the loan terms as input and prints the monthly payment and the information shown below. Below is the header

Write a C++ function that takes the loan terms as input and prints the monthly payment and the information shown below. Below is the header of the function and the output for our example loan. Your function should print all the information shown and the numbers should be right aligned. void output_short_format(double loan_amount, double interest_rate, double term_years);

Output

--------------------------------------

LOAN TERMS

--------------------------------------

Loan Amount: 150000

Interest Rate: 4.00%

Term: 15 years

----------------------------------------

Monthly payment is: 1109.53

Total interest is: 49715.74

Total amount paid is: 199715.74

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!