Write a program to compute the interest due, total amount dueand the minimum pay
ID: 3613987 • Letter: W
Question
Write a program to compute the interest due, total amount dueand the minimum payment for a revolving credit account.The program accepts the account balance input, then adds on theinterest to get the total amount due. The rate schedules arethe following:
The interest rate is 1.5% on the first $1000 and 1% on any amountover that. The minimum payment is the total amount due ifthat is $10 or less; otherwise it is $10 or 10% of the total amountowed, whichever is larger.
Your program should include a loop that lets the user repeat thiscalculation until the user says she or he is done.
Basically, I just need help starting this off. ShouldI use a while loop, if statements and nested if's for the interestrate? I'm sort of stuck, so any help on this would begreat! Thanks!
Write a program to compute the interest due, total amount dueand the minimum payment for a revolving credit account.
The program accepts the account balance input, then adds on theinterest to get the total amount due. The rate schedules arethe following:
The interest rate is 1.5% on the first $1000 and 1% on any amountover that. The minimum payment is the total amount due ifthat is $10 or less; otherwise it is $10 or 10% of the total amountowed, whichever is larger.
Your program should include a loop that lets the user repeat thiscalculation until the user says she or he is done.
Basically, I just need help starting this off. ShouldI use a while loop, if statements and nested if's for the interestrate? I'm sort of stuck, so any help on this would begreat! Thanks!