1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
#include "header.h"
int main ()
{
float minimumBalance, currentBalance, endBalance;
char accountType, response;
int accountNumber;
do
{
input (accountNumber, accountType, minimumBalance, currentBalance);
cout << "\nAny more accounts? (y,n) ";
cin >> response;
}
while (response == 'Y' || response == 'y');
calculate (accountType, minimumBalance, currentBalance, endBalance);
myLabel ("pretest 1", "11/9/2010");
output (accountType, minimumBalance, currentBalance, endBalance);
system ("Pause");
return 0;
}
|