I have been working with this problem, and I still cannot gethow to make the pro
ID: 3614181 • Letter: I
Question
I have been working with this problem, and I still cannot gethow to make the program from problem 17 output the new information.The question is....Enhance your program in exercise 17, but first telling theuser the minimum monthly payment and then prompting the user toenter the monthly payment. The last payment may be more than theremaining loan amount and interest on it. In this case, output theloan amount before the last payment and the actual amount of thelast payment. Also, output the total interest paid. I have been working with this problem, and I still cannot gethow to make the program from problem 17 output the new information.The question is....
Enhance your program in exercise 17, but first telling theuser the minimum monthly payment and then prompting the user toenter the monthly payment. The last payment may be more than theremaining loan amount and interest on it. In this case, output theloan amount before the last payment and the actual amount of thelast payment. Also, output the total interest paid.
Explanation / Answer
please rate - thanks #include using namespace std; int main() { double loan,rate,pay,interest,minimum,payment,total=0; int months=0; cout.setf(ios::fixed,ios::floatfield); cout.precision(2); coutloan; coutrate; rate/=100; rate/=12; minimum=loan*rate; 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.