1. Develop an interactive program that accepts values for loan
amount, yearly interest rate, and monthly payment amount from the terminal, and computes and displays on the terminal screen a loan repayment table. Your program execution session should have the same layout as the following sample terminal run:
Sample run:-
Enter loan amount: 10000.00
Enter yearly interest rate: 0.1790 Enter monthly payment: 50.00 ***> Monthly payment too small. Enter monthly payment: 1000.00
. Take note the following while constructing the program.
a. Monthly interest is computed on the beginning balance as
(beginning balance) * (interest rate) / 12 b. Principal is obtained by subtracting monthly interest from monthly payment. c. Ending balance is beginning balance minus principal paid. d. The beginning balance for a month is the same as the ending balance for the previous month. e. When the beginning balance for a month becomes less than or equal to the monthly payment amount, no interest is charged and the monthly payment is considered as the principal amount. In this case the monthly payment will be the final payment on the loan.
2. Write a complete pseudocode for Question 1.
3. Draw a complete flowchart representing the pseudocode for Question 1. 4. Provide the details of test data and output screen for your program. 5. Marking Rubric
CRITERIA EXCELLE GOOD SATISFACTOR UNSATISFACT TOT
NT Y ORY AL 10 8-9 6-7 5 Pseudoco Start/stop of Complete No start/stop de the program with of program start/ and no stop of capital letter the (keywords) program and no me indentation. Appropriate Complete Use of Use of few Not using capital letter use of appropria capital letter( capital letter( (keywords) appropria te capital keywords) keywords) in te capital letter( ke within the a program letter( ke ywords) programme ywords) in througho majority ut the part of program the me program me Appropriate Appropria Appropria Few No indentation te te appropriate indentation in indentati Indentati Indentation in the on on in the programme througho majority programme ut part of program the me program me Flowchar Symbol Correct Less than More than 2 Inappropriate t symbols 2 mistakes of symbol througho mistakes symbols ut the of chart symbols Logic on Correct Less than More than 2 Inappropriate control logic 2 mistakes of logic structure in presente mistakes logic in the presented in the chart d in the of chart the chart chart Logic in the chart Range Covering Covering Covering Covering any Test data all the majority average random possible of number of pathway only pathway pathway pathway based on your program
Output Accuracy of Accurate Accurate Accurate and Acceptable
output based and and covering output and on range of Covering covering average covering any test data all the majority number of random possible of pathway pathway only pathway pathway based on your program Feedback /70 TOTAL
Coding Refers To Creating Computer Programming Code. The Objective of The Coding Phase Is To Transform The Design of A System Into Code in A High Level Language and Then To Unit Test This Code