Asked by jacob
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
Answers
Answered by
Steve
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?
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?
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.