aboutsummaryrefslogtreecommitdiff
path: root/CST116F2021-Lab5/CONSOLE OUTPUT.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CST116F2021-Lab5/CONSOLE OUTPUT.txt')
-rw-r--r--CST116F2021-Lab5/CONSOLE OUTPUT.txt116
1 files changed, 116 insertions, 0 deletions
diff --git a/CST116F2021-Lab5/CONSOLE OUTPUT.txt b/CST116F2021-Lab5/CONSOLE OUTPUT.txt
new file mode 100644
index 0000000..df2759f
--- /dev/null
+++ b/CST116F2021-Lab5/CONSOLE OUTPUT.txt
@@ -0,0 +1,116 @@
+This file contains the console output for each program.
+
+10.5 LBD-Ex #1:
+
+Enter score #1 of 10: 99.54
+Score: 99.54 Grade: A
+Enter score #2 of 10: 73.85
+Score: 73.85 Grade: D
+Enter score #3 of 10: 68.76
+Score: 68.76 Grade: D
+Enter score #4 of 10: 82.47
+Score: 82.47 Grade: C
+Enter score #5 of 10: 63.98
+Score: 63.98 Grade: F
+Enter score #6 of 10: 87.61
+Score: 87.61 Grade: B
+Enter score #7 of 10: 85.0
+Score: 85 Grade: B
+Enter score #8 of 10: 52.84
+Score: 52.84 Grade: F
+Enter score #9 of 10: 96.2
+Score: 96.2 Grade: A
+Enter score #10 of 10: 84.15
+Score: 84.15 Grade: B
+
+The average score is: 79.44%
+Distribution of achieved grades:
+A: 2
+B: 3
+C: 1
+D: 2
+F: 2
+
+C:\Users\jorda\Source\Repos\cst116-lab5-JordanHT-OIT\Debug\CST116F2021-Lab5.exe (process 1424) 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 . . .
+
+
+
+10.6 LBD-Ex #1:
+
+Enter score #1 of 10: 99
+Enter score #2 of 10: 94.65
+Enter score #3 of 10: 91.24
+Enter score #4 of 10: 58.23
+Enter score #5 of 10: -65
+
+Error: Score cannot be negative
+Enter score #5 of 10: 65.0
+Enter score #6 of 10: 79.23
+Enter score #7 of 10: 80.234
+Enter score #8 of 10: 23.5
+Enter score #9 of 10: 83.7
+Enter score #10 of 10: 94.3
+
+The average score is: 76.9084
+The number of assigned grades are as follows: A - 3, B - 1, C - 3, D - 1, F - 2
+The individual scores are as follows:
+Student 1 scored 99 (A)
+Student 2 scored 94.65 (A)
+Student 3 scored 91.24 (B)
+Student 4 scored 58.23 (F)
+Student 5 scored 65 (D)
+Student 6 scored 79.23 (C)
+Student 7 scored 80.234 (C)
+Student 8 scored 23.5 (F)
+Student 9 scored 83.7 (C)
+Student 10 scored 94.3 (A)
+
+C:\Users\jorda\Source\Repos\cst116-lab5-JordanHT-OIT\Debug\CST116F2021-Lab5.exe (process 10688) 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 . . .
+
+
+
+10.7 LBD-Ex #2
+
+Please enter your first name: Jordan
+Please enter your last name: Harris-Toovy
+
+Your full name is: Jordan, Harris-Toovy
+
+C:\Users\jorda\Source\Repos\cst116-lab5-JordanHT-OIT\Debug\CST116F2021-Lab5.exe (process 1176) 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 . . .
+
+
+
+10.8 Ex #7
+
+---[Run 1]---
+
+Please enter a string (alphanumeric and +-,.): Hello!
+Please enter another string: Hello!
+
+Enter the number of characters to compair (left to right): 5
+
+The first 5 characters match.
+
+C:\Users\jorda\Source\Repos\cst116-lab5-JordanHT-OIT\Debug\CST116F2021-Lab5.exe (process 1792) 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]---
+
+Please enter a string (alphanumeric and +-,.): THIS_IS_A_TEST
+Please enter another string: THIS_IS_A_DIFFERENCE
+
+Enter the number of characters to compair (left to right): 12
+
+There is a mismatch within the fisrt 12 characters.
+
+C:\Users\jorda\Source\Repos\cst116-lab5-JordanHT-OIT\Debug\CST116F2021-Lab5.exe (process 10840) 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 . . .