Question: (PLEASE WRITE IN C) Write a program that reads a loan amount, payment amount, and interest rate as inputs and outputs the number of payments
(PLEASE WRITE IN C) Write a program that reads a loan amount, payment amount, and interest rate as inputs and outputs the number of payments required until the loan is paid. Interest is added to current balance before a payment is applied. Ex: If current balance is $100.00 and the interest rate is 0.02, the new balance is $102.00 before a payment is applied. All values are doubles.
6.15LAB : Months until payoff Wite a program that reads a loan amount, payment amount, and interest rate as inputs and outputs the number of payments required until the loan is paid. Interest is added to current balance before a payment is applied Ex if current balance is $10000 and the interest rate is 0.02, the new balance is $102.00 before a payment is applied. All values are doubles. Ex if the input is: 1000.0:50,0.0.03 the output is: 31 payments Ex. If the input is: 50.0100.00.02 the outpot is: 1. paynent \begin{tabular}{l|l} ue \\ Acriviry & 6.15.1 : AB Months until payoif \end{tabular} main.c Losd sefauh tamplate
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
