CSCI 160 Assignment 3, Fall 1997 DUE: The assignment is due on or before 3am, Saturday October 11. This assignment is worth 20 objective points. Your solution will be graded on the basis of its run-time behaviour and on the clarity and simplicity of the source code. See the marking guide in ~csci160/Pex3/markingGuide. With regard to simplicity and clarity, follow the ASAP principle: as simple as possible. INSTRUCTIONS: Issue the command: cp -r ~csci160/Pex3 . to copy the assignment work directory to your account. Locate to Pex3 and use the CSCI 160 Exercise Development Utility to test, verify and submit you assignment (enter the command make help for instructions on how to use the utility). This assignment is to be completed by each student. Submit only one implementation; if you send more than one, we will discard all but the last one. The assignment identifier is CSCI 160 Pex 3 (see Course Information Sheet). Your assignment must be received before the due date and time. In addition, your e-mail must have the assignment identifier as its subject. All other methods of submission will not be accepted. You will receive no credit for an assignment submission that fails to adhere to this convention. QUESTION: Description =========== Your task is to design and develop a C++ program that tracks a financial obligation as it is liquidated by a series of partial payments. You are to allow for interest and repayment as follows: Interest (11% per year simple interest) on the unpaid balance of a debt is computed each time a partial payment is made. The partial payment is then used to reduce the debt. This process continues until the debt is completely repayed. Sample Output ============= Run1 -=-= Enter the debt amount (in dollars) 4000.00 Enter the number of days that have expired since last partial payment 34 Amount due is $4040.99 Enter partial payment (in dollars) 2000.00 Enter the number of days that have expired since last partial payment 20 Amount due is $2053.29 Enter partial payment (in dollars) 1000.00 Enter the number of days that have expired since last partial payment 30 Amount due is $1062.81 Enter partial payment (in dollars) 1062.77 Debt has been paid in full Run2 -=-= Enter the debt amount (in dollars) 4000.00 Enter the number of days that have expired since last partial payment 34 Amount due is $4040.99 Enter partial payment (in dollars) 5000.00 Debt has been paid in full Assumptions/Restrictions ======================== The debt amount is a positive real value (float). The number of days that have expired since the last partial payment is a positive whole real value (float). For example, 5 days would be represented as 5.0 days. Part days are NOT considered. All money figures are to be displayed using two places of decimals. The debt is consider paid when the amount due drops below 5 cents. No refunds are provided for over payment. Leap years are not considered. Test Set ======== see ~csci160/Pex3/tinp