Question: Use input statements with prompts to ask the user for the amount they are going to borrow, the number of months that they make repayment,
Use input statements with prompts to ask the user for the amount they are going to borrow, the number of months that they make repayment, and the interest rate. Convert principal and rate to floats and months to an integer. Use the formula at CalculateStuff to calculate, store, and print the payment. Also calculate and print the total amount paid months times payment and total interest paid total paid principal. Use and for testing.
Remember to divide annual interest rate by to come up with a monthly interest rate to use in your calcultions.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
