(Latest Revision: Sun Oct 24 16:46:34 PDT 2004 )
Script started on Sun Oct 24 16:44:29 2004 john@alcyone:(~/Classes/CS1500/Solo3/2004) a.out This program will caculate the future value of N weekly payments of P dollars at annual interest rate R. You will be prompted to enter P, R, and N (in that order) and then the future value will be calculated and written to the screen. You must now enter the amount of the payment P in decimal form (for example: 54.55). Do *not* include a dollar sign ($). Do *not* include any commas. Enter P, the amount of each weekly payment here ==> P = 25.55 Now you must enter the annual interest rate in decimal form (for example: 8.125). Do *not* include a percent sign (%). Do *not* include any commas. Enter R, the annual interest rate here ==> R = 2.375 Now you must enter the number of weekly payments as a whole positive integer (for example: 45). Do *not* include a decimal point or any commas Enter N, the number of weekly payments, here ==> N = 50 Here is your answer: The future value of 50 weekly payments of $25.55 at 2.375% is $1292.41. john@alcyone:(~/Classes/CS1500/Solo3/2004) exit script done on Sun Oct 24 16:45:31 2004