finalreport5 - Benjamin Jones February 7 2008 Final Report...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Benjamin Jones February 7, 2008 Final Report Laboratory 5 The Program // *********************************************************************** // File: bankaccount.cpp // // Compute Savings Interest - User inputs an interest rate as an integer as an // interest rate, and the program outputs a table // that displays the year, current savings, // interest amount, and final amount for ten years, // with an initial savings of $1000. // // Author: Benjamin Jones // Created: 07 Febuary 2008 // Updated: Original // // Assignment: Lab 5 // Compiler: MinGW32 G++ 3.4.2 (GNU) // // Inputs: User inputs an integer as an interest rate // // Contraints: The user must a enter a non-negative integer less than 100 // // Outputs: The program will display in tabular format the following: // Year Current Savings Interest Amount New Savings // ---- --------------- --------------- -----------
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
// <year> <currentSavings> <interestAmount> <newSavings> // . . . . // . . . . // . . . . // // ********************************************************************* // // Design: // // I. Get the interest from the user expressed as a percent (integer)
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 6

finalreport5 - Benjamin Jones February 7 2008 Final Report...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online