Test 1 CSCI 151 Version 1

Question 1 (25 points):

For the program below, answer the following questions:


X = "yana"+"bony"
E = 2
K = 3
M = 10%E**K

Question 2 (75 points):

Write a program that reads total amount of the loan taken in the bank, the down payment, and the loan tearm (the number of YEARS the loan is taken for). The program calculates and displays the monthly payment - the amount user would need to pay every month to return the loan.

Examples - use these examples to TEST your program (I rounded answers to display 2 decimal points only but you are not required to do so)