From 4684bc786950cef5f127af2f6b6444fa7b83ef12 Mon Sep 17 00:00:00 2001 From: BensProgramma <91996773+BensProgramma@users.noreply.github.com> Date: Tue, 19 Oct 2021 19:13:48 -0700 Subject: Rename Runs From Lab3.txt to Runs From Lab3_Schroeder.txt --- CST116F2021-Lab3/Runs From Lab3.txt | 233 -------------------------- CST116F2021-Lab3/Runs From Lab3_Schroeder.txt | 233 ++++++++++++++++++++++++++ 2 files changed, 233 insertions(+), 233 deletions(-) delete mode 100644 CST116F2021-Lab3/Runs From Lab3.txt create mode 100644 CST116F2021-Lab3/Runs From Lab3_Schroeder.txt diff --git a/CST116F2021-Lab3/Runs From Lab3.txt b/CST116F2021-Lab3/Runs From Lab3.txt deleted file mode 100644 index 06152f5..0000000 --- a/CST116F2021-Lab3/Runs From Lab3.txt +++ /dev/null @@ -1,233 +0,0 @@ -These are the text outputs from the Lab3 Exercises Author: Benjamin Schroeder - -/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -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 Count down even integer from user input integer - -give me a integer between 0 nd 50: 49 -48 -46 -44 -42 -40 -38 -36 -34 -32 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 -0 - -C:\Users\Lenovo\source\repos\CST116_Lab3_Schroeder\Debug\CST116_Lab3_Schroeder.exe (process 20668) 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.3_1 p179 Count down by even integers w/ do-while loop to varify valid input - -give me a integer between 0 nd 50: 55 -give me a integer between 0 nd 50: 49 -48 -46 -44 -42 -40 -38 -36 -34 -32 -30 -28 -26 -24 -22 -20 -18 -16 -14 -12 -10 -8 -6 -4 -2 -0 - -C:\Users\Lenovo\source\repos\CST116_Lab3_Schroeder\Debug\CST116_Lab3_Schroeder.exe (process 11492) 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.4_2 p184 - -Enter an integer for the number of stars in the base of the triangle: 11 -* * * * * * * * * * * -* * * * * * * * * * -* * * * * * * * * -* * * * * * * * -* * * * * * * -* * * * * * -* * * * * -* * * * -* * * -* * -* - -C:\Users\Lenovo\source\repos\CST116_Lab3_Schroeder\Debug\CST116_Lab3_Schroeder.exe (process 10272) 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.10_3 p192 - -Enter the number you wish the fibonacci sequence to go to (positive integer): 615 - -Fibonacci Series (no greater than 615): - 0 - 1 - 1 - 2 - 3 - 5 - 8 - 13 - 21 - 34 - 55 - 89 - 144 - 233 - 377 - 610 - -C:\Users\Lenovo\source\repos\CST116_Lab3_Schroeder\Debug\CST116_Lab3_Schroeder.exe (process 19152) 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 . . . diff --git a/CST116F2021-Lab3/Runs From Lab3_Schroeder.txt b/CST116F2021-Lab3/Runs From Lab3_Schroeder.txt new file mode 100644 index 0000000..06152f5 --- /dev/null +++ b/CST116F2021-Lab3/Runs From Lab3_Schroeder.txt @@ -0,0 +1,233 @@ +These are the text outputs from the Lab3 Exercises Author: Benjamin Schroeder + +/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +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 Count down even integer from user input integer + +give me a integer between 0 nd 50: 49 +48 +46 +44 +42 +40 +38 +36 +34 +32 +30 +28 +26 +24 +22 +20 +18 +16 +14 +12 +10 +8 +6 +4 +2 +0 + +C:\Users\Lenovo\source\repos\CST116_Lab3_Schroeder\Debug\CST116_Lab3_Schroeder.exe (process 20668) 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.3_1 p179 Count down by even integers w/ do-while loop to varify valid input + +give me a integer between 0 nd 50: 55 +give me a integer between 0 nd 50: 49 +48 +46 +44 +42 +40 +38 +36 +34 +32 +30 +28 +26 +24 +22 +20 +18 +16 +14 +12 +10 +8 +6 +4 +2 +0 + +C:\Users\Lenovo\source\repos\CST116_Lab3_Schroeder\Debug\CST116_Lab3_Schroeder.exe (process 11492) 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.4_2 p184 + +Enter an integer for the number of stars in the base of the triangle: 11 +* * * * * * * * * * * +* * * * * * * * * * +* * * * * * * * * +* * * * * * * * +* * * * * * * +* * * * * * +* * * * * +* * * * +* * * +* * +* + +C:\Users\Lenovo\source\repos\CST116_Lab3_Schroeder\Debug\CST116_Lab3_Schroeder.exe (process 10272) 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.10_3 p192 + +Enter the number you wish the fibonacci sequence to go to (positive integer): 615 + +Fibonacci Series (no greater than 615): + 0 + 1 + 1 + 2 + 3 + 5 + 8 + 13 + 21 + 34 + 55 + 89 + 144 + 233 + 377 + 610 + +C:\Users\Lenovo\source\repos\CST116_Lab3_Schroeder\Debug\CST116_Lab3_Schroeder.exe (process 19152) 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 . . . -- cgit v1.2.3