The loan's terms are given as inputs to your program. Your program must first apply a formula to compute the monthly payment amount in dollars and then apply a formula to compute the balance remaining after k payments have been made. Your program must prompt the user to enter four different values of k. For each value of k the program must compute the balance due and print out that value. The program's output should look exactly like the following output example .
Values shown in red, underlined italics are the inputs typed by the user.
There must NOT be any additional prompt or output messages. Of course, your program should work correctly with any valid input number values, not only with the values shown in this output example. Program preconditions , also know as program assumptions , are a list of all the requirements that must be met in order to guarantee that the program will run correctly without any errors or crashes. If a program is designed and implemented correctly and the user of the program meets all the preconditions, then the programmer can guarantee that it will run correctly. Of course, an incorrect program can not be guaranteed to run correctly regardless of whether the preconditions are met or not.