diff options
| author | Benjamin Schroeder <[email protected]> | 2021-10-13 19:10:14 -0700 |
|---|---|---|
| committer | Benjamin Schroeder <[email protected]> | 2021-10-13 19:10:14 -0700 |
| commit | c604880b7bf87bac6fbc6ebb0bbe31c1c3229bf0 (patch) | |
| tree | 0dda2fa4131e7257db3e2331b7016d5b6040d852 /CST116F2021-Lab3/Runs From Lab3.txt | |
| parent | Runs text file added (diff) | |
| download | cst116-lab3-bensprogramma-c604880b7bf87bac6fbc6ebb0bbe31c1c3229bf0.tar.xz cst116-lab3-bensprogramma-c604880b7bf87bac6fbc6ebb0bbe31c1c3229bf0.zip | |
Runs From Lab3.txt
Diffstat (limited to 'CST116F2021-Lab3/Runs From Lab3.txt')
| -rw-r--r-- | CST116F2021-Lab3/Runs From Lab3.txt | 97 |
1 files changed, 96 insertions, 1 deletions
diff --git a/CST116F2021-Lab3/Runs From Lab3.txt b/CST116F2021-Lab3/Runs From Lab3.txt index 18fbc61..cab4401 100644 --- a/CST116F2021-Lab3/Runs From Lab3.txt +++ b/CST116F2021-Lab3/Runs From Lab3.txt @@ -1,4 +1,96 @@ -Run from 7.10_2 +/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +Output from 6.4 p126 + +0 +2 +3 +2 +1 + +C:\Users\Lenovo\Source\Repos\cst116-lab3-BensProgramma\x64\Debug\CST116F2021-Lab3.exe (process 17068) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +Corrections from 7.1 1 thru 6 p148 +// +// int int_exp1 = 0; +// int int_exp2 = 1; +// char char_exp = 'B'; +// +// int_exp1 >= int_exp2; // put great than sign before = to correct it +// int_exp1 == int_exp2; // made it a == sign +// int_exp1 != int_exp2; // explamation should be before = +// char_exp == 'A'; // should have single quote for char +// int_exp1 > char_exp; // trying to compare an int to a char +// int_exp1 < 2 && int_exp1 > -10 // needs to nhave the variable in the second comparison +// + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +Run from 7.2_1 p155 (several runs) + +(run 1) + +Bank Membership Staus +How many accounts does the member have? (1 or 2): 2 + +Enter total amount the member has in all accounts (dollars): 9000 + +Copper Member + + +C:\Users\Lenovo\Source\Repos\cst116-lab3-BensProgramma\x64\Debug\CST116F2021-Lab3.exe (process 9592) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + +(run 2) + Bank Membership Staus +How many accounts does the member have? (1 or 2): 1 + +Enter total amount the member has in all accounts (dollars): 45000 + +Platinum Member + + +C:\Users\Lenovo\Source\Repos\cst116-lab3-BensProgramma\x64\Debug\CST116F2021-Lab3.exe (process 11708) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + + (run3) + Bank Membership Staus +How many accounts does the member have? (1 or 2): 2 + +Enter total amount the member has in all accounts (dollars): 12000 + +Gold Member + + +C:\Users\Lenovo\Source\Repos\cst116-lab3-BensProgramma\x64\Debug\CST116F2021-Lab3.exe (process 4268) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + + +/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +Run from 7.4_1 p161 + + Student Grade Program + -Main Menu- + + 1. Enter name + 2. Enter test scores + 3. Display test scores + 4. Exit + +Please enter your choice from the list above: 2 +Enter test scores + +C:\Users\Lenovo\Source\Repos\cst116-lab3-BensProgramma\x64\Debug\CST116F2021-Lab3.exe (process 2840) exited with code 0. +To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. +Press any key to close this window . . . + + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +Run from 7.10_2 p168 Enter amount of loan requested (between $100 and $1000): 250 @@ -11,3 +103,6 @@ Interest and fees: $26.25 C:\Users\Lenovo\Source\Repos\cst116-lab3-BensProgramma\x64\Debug\CST116F2021-Lab3.exe (process 5524) exited with code 0. To automatically close the console when debugging stops, enable Tools->Options->Debugging->Automatically close the console when debugging stops. Press any key to close this window . . . + + +///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
\ No newline at end of file |