UMBC CMSC104 | CSEE |
CMSC104Problem Solving and Computer ProgrammingSections 0501 and 0601 |
This program is to calculate the monthly payment of a loan. You will ask the user from the amount of the loan and the interest rate of the loan. You are to calculate the the simple interest, add it to the amount of the loan and computer the monthly payment. You are to inform the user of the total amount to be repaid and the amount of the monthly payment. Note: The loan must be paid off in 12 months!
burt[119]: a.out Loan Calculator Enter the amount of the loan: 450.00 Enter the interest rate (Enter 7% as 0.07!): 0.05 You will repay $39.38 a month. You will pay back a total of $472.50. burt[120]:
When submitting the assignment, I only want the file 6789prj1.c. Please make the title and the file name the same when you submit it! If you submit a file name 6789prj1.c, the way we save the material delete everything but the last file with than name. Therefore, your file will be lost and we will give you a zero!!!! Use the last four of your SSN, not 6789!!!
Documentation | 25 points |
Correct Results | 25 points |
Correct Sytle | 25 points |
Other | 25 points |
You will lose 5 points if you do not name the file correctly.
You will lose 5 points if you email the project instead of submitting
it via Blackboard.
You will lose 5 points if the prompt is not on the next line.
/*****************************************************/ /* Program Header Block */ /* Filename: 6789prj1.c */ /* Name: Ima Student */ /* SSAN: 6789 */ /* Date: 6 April 2003 */ /* Course/section: CMSC-104/0101 */ /* Description: */ /* Analysis: */ /* Input: */ /* Output: */ /* Constraints: */ /* Formulas: */ /* Assumptions: */ /* Design: */ /* (Your psuedocode goes here.) */ /* */ /* Notes: (As needed.) */ /*****************************************************/