diff options
Diffstat (limited to 'TextFile1.txt')
| -rw-r--r-- | TextFile1.txt | 277 |
1 files changed, 277 insertions, 0 deletions
diff --git a/TextFile1.txt b/TextFile1.txt new file mode 100644 index 0000000..a2ea484 --- /dev/null +++ b/TextFile1.txt @@ -0,0 +1,277 @@ +======================================== + SUCCESSFUL CODE RUNS ARE SHOWN BELOW +======================================== + + + +====================================================== += RUNS FOR PROBLEM #1 ON PAGE 161 ARE BELOW = +====================================================== + + + Student Grade Program + - Main Menu - + + 1. Enter Name + 2. Enter test scores + 3. Display test scores + 9. Exit + + Please enter your choice from the list above: 2 + + You chose: Enter test scores + +C:\Users\eclip\source\repos\cst116-lab3-JosephTenEyck\x64\Debug\CST116F2021-Lab3.exe (process 15276) 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 . . . + + + + Student Grade Program + - Main Menu - + + 1. Enter Name + 2. Enter test scores + 3. Display test scores + 9. Exit + + Please enter your choice from the list above: 5 + + Menu choice does not exist + +C:\Users\eclip\source\repos\cst116-lab3-JosephTenEyck\x64\Debug\CST116F2021-Lab3.exe (process 14464) 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 . . . + + + + +====================================================== += RUNS FOR PROBLEM #2 ON PAGE 168 ARE BELOW = +====================================================== + + + ========================= + = Loan Calculator = + ========================= + + + Enter loan amount: 630 + + Enter loan rate percent: 13 + + + Requested loan amount: $630 + Interest rate: 13% +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + Interest amount: $81.9 + Fee: $25 + + Sum of interst and fees: $106.9 + +================================================================ + Total Cost: $736.9 + + +C:\Users\eclip\source\repos\cst116-lab3-JosephTenEyck\x64\Debug\CST116F2021-Lab3.exe (process 17108) 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 . . . + + + + + ========================= + = Loan Calculator = + ========================= + + + Enter loan amount: 1200 + + Enter loan rate percent: 15 + + + ERROR: Loan amount is not between $100 and $1,000 + +C:\Users\eclip\source\repos\cst116-lab3-JosephTenEyck\x64\Debug\CST116F2021-Lab3.exe (process 1188) 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 . . . + + + + + ========================= + = Loan Calculator = + ========================= + + + Enter loan amount: 450 + + Enter loan rate percent: 20 + + + ERROR: Interest rate is not between 1% and 18% + +C:\Users\eclip\source\repos\cst116-lab3-JosephTenEyck\x64\Debug\CST116F2021-Lab3.exe (process 15324) 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 . . . + + + + + + +====================================================== += RUNS FOR PROBLEM #1 ON PAGE 177 ARE BELOW = +====================================================== + + + Enter an integer between 1 and 50: 45 + +45 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\eclip\source\repos\cst116-lab3-JosephTenEyck\x64\Debug\CST116F2021-Lab3.exe (process 21588) 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 . . . + + + + + + Enter an integer between 1 and 50: 36 + +36 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2 0 + + +C:\Users\eclip\source\repos\cst116-lab3-JosephTenEyck\x64\Debug\CST116F2021-Lab3.exe (process 22184) 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 . . . + + +====================================================== += RUNS FOR PROBLEM #1 ON PAGE 179 ARE BELOW = +====================================================== + + + + Enter an integer between 1 and 50: 23 + + + +23 22 20 18 16 14 12 10 8 6 4 2 0 + + + +C:\Users\eclip\source\repos\cst116-lab3-JosephTenEyck\x64\Debug\CST116F2021-Lab3.exe (process 20572) 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 . . . + + + + + + Enter an integer between 1 and 50: 51 + + + +ERROR: Number must be between 1 and 50 + + Enter an integer betwen 1 and 50: 0 + + + +ERROR: Number must be between 1 and 50 + + Enter an integer betwen 1 and 50: 27 + +27 26 24 22 20 18 16 14 12 10 8 6 4 2 0 + + + +C:\Users\eclip\source\repos\cst116-lab3-JosephTenEyck\x64\Debug\CST116F2021-Lab3.exe (process 21600) 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 FOR PROBLEM #1 ON PAGE 184 IS BELOW = +====================================================== + + + + Enter number of assignments: 5 + + + Enter assignment 5 score: 15 + + Enter assignment 4 score: 18 + + Enter assignment 3 score: 20 + + Enter assignment 2 score: 16 + + Enter assignment 1 score: 19 + + +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + + Average assignment score: 17.6 + + +C:\Users\eclip\source\repos\cst116-lab3-JosephTenEyck\x64\Debug\CST116F2021-Lab3.exe (process 9384) 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 . . . + + +====================================================== += RUNS FOR PROBLEM #3 ON PAGE 192 ARE BELOW = +====================================================== + + + + ================================== + == Fibonacci sequence generator == + ================================== + + Enter ending number: 99 + + +1 1 2 3 5 8 13 21 34 55 89 + +C:\Users\eclip\source\repos\cst116-lab3-JosephTenEyck\x64\Debug\CST116F2021-Lab3.exe (process 4380) 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 . . . + + + + + + ================================== + == Fibonacci sequence generator == + ================================== + + Enter ending number: 55 + + +1 1 2 3 5 8 13 21 34 55 + +C:\Users\eclip\source\repos\cst116-lab3-JosephTenEyck\x64\Debug\CST116F2021-Lab3.exe (process 24500) 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 . . . + + + + + ================================== + == Fibonacci sequence generator == + ================================== + + Enter ending number: 0 + + +ERROR: Ending number must be 1 or greater + +C:\Users\eclip\source\repos\cst116-lab3-JosephTenEyck\x64\Debug\CST116F2021-Lab3.exe (process 21604) 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 . . . |