Question: Program written in C Problem 3. Bank Loan (25 points) Suppose, you want to apply for a bank loan. You would like to pay off

Program written in CProgram written in C Problem 3. Bank Loan (25 points) Suppose, you

Problem 3. Bank Loan (25 points) Suppose, you want to apply for a bank loan. You would like to pay off the loan with interest in several years. But, you are not sure how much money to borrow and for how long. Therefore, you want to plan ahead and calculate the total pay off amount using the loan amount, loan period and interest rate as inputs. Write a code that will continuously ask for the loan amount (in dollars), loan period (in years) and interest rate (in percentage) as user input and print out the total pay off amount. After each calculation, it will ask user whether s/he wants to calculate again. If the user types Y, it will ask for input again. Otherwise, it will abort the program. Total pay off amount is calculated using the following formula where, P Loan amount r = Interest rate (0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!