print "enter balance"
read balance
payment = balance/36
balance = balance-payment
print balance
balance = balance-payment
print balance
You probably will want to add some text to indicate what the printed numbers mean, but that wasn't stated in the assignment above.
Extra Credit:
I assumed that the user pays 1/36 of the original balance each month. What if he paid 1/36 of the new, remaining balance each month?
9. Draw the flowchart or write the pseudocode for an application that allows a user to enter an automobile loan balance. Assume that the user pays 1/36 of the balance each month, and display the new balance after one month and after two months
1 answer