diff options
| author | Benjamin Schroeder <[email protected]> | 2021-10-15 12:42:48 -0700 |
|---|---|---|
| committer | Benjamin Schroeder <[email protected]> | 2021-10-15 12:42:48 -0700 |
| commit | f31848a17731ce16ac415a986bb25ee7d74f5b15 (patch) | |
| tree | 6a6387284b3c3799818850a332b37d0adf4eeaf7 | |
| parent | updated file name (diff) | |
| download | cst116-lab3-bensprogramma-f31848a17731ce16ac415a986bb25ee7d74f5b15.tar.xz cst116-lab3-bensprogramma-f31848a17731ce16ac415a986bb25ee7d74f5b15.zip | |
updated file name
| -rw-r--r-- | CST116F2021-Lab3/Runs From CST116 Lab3_Schroeder.txt | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/CST116F2021-Lab3/Runs From CST116 Lab3_Schroeder.txt b/CST116F2021-Lab3/Runs From CST116 Lab3_Schroeder.txt new file mode 100644 index 0000000..02f1066 --- /dev/null +++ b/CST116F2021-Lab3/Runs From CST116 Lab3_Schroeder.txt @@ -0,0 +1,122 @@ +/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +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 +Enter interest Rate between 1 and 18 %: 2.5 + +Loan requested: $250 +Interest Rate: 2.5% +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 . . . + + +/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +Run from 8.2_1 p177 + + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +Run from 8.3_1 p179 + + +/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +Run from 8.4_1 p184 + + +////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +Run from 8.10_3 p192
\ No newline at end of file |