The semester is fast approaching its end and you are preparing for graduation. Y
ID: 3657632 • Letter: T
Question
The semester is fast approaching its end and you are preparing for graduation. You are very excited about the new job you have landed but this also means that it is time to pay off your credit card debt. Your credit card has an adjustable interest rate which depends on the remaining balance (debt). The table below shows the annual interest rates for your credit card based on the balance. Balance APR $1-$5000 13% $5001-$10000 18% > $10000 21% In this assignment, you will write a program that will determine the number of months it will take you to pay off your debt.Explanation / Answer
#include #include #include using namespace std; int main() { int balance,payment; double temp,j; double apr; int payment_no; int i; coutbalance; coutpayment; payment_no=1; i=0; while(1) { i++; if(balance5000 && balanceRelated 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.