Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Write a program named, paymentCalcwlator.cpp. This program will first print a description of what the program does. Next, this progr Of the loan, the

image text in transcribed
2. Write a program named, paymentCalcwlator.cpp. This program will first print a description of what the program does. Next, this progr Of the loan, the yearly in crest on the loan (in percent, like 6% or 8%,not Dt or the program will have to make that a just ment as ita term of the loan. Now the program will calculate the amount of one monthly payment using the formula t for and input from the user the amount number of months (or payments) in the payment- rate*(l+rate)". principle a + rate)-1) oearly interest eute divided by 12), a is the sumber of mos payments The moedly paymens is the variable.payment, and the anoust of the lo is prineile Once the monthly payment is calculated, the program will display the following information, formatted as in the example below: the loan amount, the yearly interest rate, the number of payments, the amount of the monthly payment,the amount of moncy that will be paid back once all payments have been made, and the total amount of interest paid once the loan has been fully repaid Here are three examples. The outpat of your program should be formatted like these examples and work for any inputs received from the user. This program will assume the user's inputs are valid. Example 1: this aspiicatios wi11 caleulate a monthly paynent on a loan The output will also inelude other infornation about the loan Ester the loan anoust: 20000 Inter the yearly interest rate in percentst 12 Enter the number of paymentn (number of montha)s 36 Loan nount i 10000.00 Nunber of Paymentss Monthly Paymenti Anount Paid Back11957.1S Interest Paid End of Monthly Payment Caleulation App 12.00 332.14 1957.15

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

More Books

Students also viewed these Databases questions

Question

What is American Polity and Governance ?

Answered: 1 week ago