CSCI 160 Assignment 1, Fall 1997 DUE: The assignment is due on or before 3am, Friday September 26. 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/Pex1/markingGuide. With regard to simplicity and clarity, follow the ASAP principle: as simple as possible. INSTRUCTIONS: Issue the command: cp -r ~csci160/Pex1 . to copy the assignment work directory to your account. Locate to Pex1 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 1 (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 =========== Consider the situation where your local bank offers the following 4-Easy-Pay ment investment plan. A fixed amount of money is invested each year for four years. At the end of each year, the bank adds 4.34% to the amount currently invested. The investment matures at the end of the fourth year. Your task is develop a C++ program to determine the total value of the investment at the end of the fourth year. Sample Output ============= Enter the easy-payment amount (in dollars) 100.00 Interest accrues at the rate of 4.34% per year Total investment value after 4 years (in dollars) is 445.32 Assumptions/Restrictions ======================== The input data (amount) is a positive real number (float) between 0.00 and 1,000,000.00 inclusive. The output data is a real number between 0.00 and 10,000,000.00 inclusive. The output data is to be displayed using two places of decimals. The simple interest percentage figure is to be formatted as given above and is to be displayed using two places of decimals. Test Set ======== see ~csci160/Pex1/tinp