4.21 (Financial application: comparing loans with various interestrates) Write a
ID: 3613400 • Letter: 4
Question
4.21 (Financial application: comparing loans with various interestrates) Write a program that lets the user enter the loan amount andthe loan period in number of years and display the monthly andtotal payment for each interest rate starting from 3.5% to 8% ,with an increment of 1 / 4. if you enter the loan amount 5,000 forfive years, it will display a table as follows:Loan Amount:5000
number of years: 5
interestRate monthlyPayment Total Payment
3.5% 146.51 5274.37
3.75% 147.06 5294.32
:
:
8.0% 156.68 5640.54
Explanation / Answer
please rate - thanks hope this isn't too much of a hint message me if any questions may need more variables #include #include #include using namespace std; int main() {double loan,month,total,rate; int years; coutloan; coutyears; total=0; rate=.035; coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.