1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
|
This file contains the test information within this lab.
---[13b - 11.9 Learn by Doing Exercises # 1]---
Run 1 (N = 15, True median = 2.16):
From the array: 6.9 3.34 1.99 2.16 6.88 0.64 7.93 -9.24 -9.88 7.08 -0.9 4.78 -7.91 -0.56 5.17
The median is: 2.16
C:\Users\jorda\Source\Repos\cst115-lab8-JordanHT-OIT\x64\Debug\CST116F2021-Lab8.exe (process 13700) 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 (N = 12, True median = 0.4650):
From the array: 6.59 0.45 -8.58 6.29 -2.74 -5.4 6.09 0.48 0.9 2.93 -4.27 0.32
The median is: 0.465
C:\Users\jorda\Source\Repos\cst115-lab8-JordanHT-OIT\x64\Debug\CST116F2021-Lab8.exe (process 13924) 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 3 (N = 50, True median = 47.8550):
From the array: -152.06 -19.92 170.03 -104.81 97.52 267.19 -37.05 -143.47 142.87 232.23 226.05 294.49 -27.89 267.89 -218.86 170.72 -187.75 134.71 15.77 -148.02 -117.11 135.07 -216.43 -141.42 -124.97 -150.14 -4.95 37.08 197.45 -61.41 157.59 -160.93 126.88 272.09 153.5 -59.33 90.24 208.76 213.18 -211.08 134.9 69.82 282.62 54.24 250.24 -1.33 252.65 24.38 10.73 41.47
The median is: 47.855
C:\Users\jorda\Source\Repos\cst115-lab8-JordanHT-OIT\x64\Debug\CST116F2021-Lab8.exe (process 14012) 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 . . .
---[13c - 11.13 Debugging Exercise]----
Instruction 1-4:
Trouble Opening File
** About to EXIT NOW! **
C:\Users\jorda\Source\Repos\cst115-lab8-JordanHT-OIT\x64\Debug\CST116F2021-Lab8.exe (process 8592) 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 . . .
Instruction 1-6:
Catrina 30
Yasin 29
Ariyan 31
Alaya 48
Emanue 57
Matas 59
Zachary 19
Quentin 83
** Total Records: 8 **
The End
C:\Users\jorda\Source\Repos\cst115-lab8-JordanHT-OIT\x64\Debug\CST116F2021-Lab8.exe (process 4800) 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 . . .
Instruction 1-11:
Catrina 30
Yasin 29
Ariyan 31
Alaya 48
Emanue 57
Matas 59
Zachary 19
Quentin 83
Cian 43
** Total Records: 9 **
The End
C:\Users\jorda\Source\Repos\cst115-lab8-JordanHT-OIT\x64\Debug\CST116F2021-Lab8.exe (process 6536) 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 . . .
Instruction 2-2:
Catrina 30
Yasin 29
Ariyan 31
Alaya 48
Emanue 57
Matas 59
Zachary 19
Quentin 83
Cian 43
Trouble Opening File
** About to EXIT NOW! **
C:\Users\jorda\Source\Repos\cst115-lab8-JordanHT-OIT\x64\Debug\CST116F2021-Lab8.exe (process 2928) 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 . . .
Instruction 2-6:
Cannot open Data.txt
** Exiting **
C:\Users\jorda\Source\Repos\cst115-lab8-JordanHT-OIT\x64\Debug\CST116F2021-Lab8.exe (process 16316) 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 . . .
Instruction 2-8 (NOTE: See Report.txt as well):
Catrina 30
Yasin 29
Ariyan 31
Alaya 48
Emanue 57
Matas 59
Zachary 19
Quentin 83
Cian 43
** Total Records: 9 **
The End
C:\Users\jorda\Source\Repos\cst115-lab8-JordanHT-OIT\x64\Debug\CST116F2021-Lab8.exe (process 10636) 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 . . .
---[13c - 11.14 Programming Exercises #1]----
Payment overviewer MK1
First name Last name SSN Wage Hours Straight-time pay Overtime Pay Status Total pay
══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════
John Smith 123-09-8765 9.00 46 360.00 81.00 Fulltime 436.00
Molly Brown 432-89-7654 9.50 40 380.00 0.00 Fulltime 375.00
Tim Wheeler 239-34-3458 11.25 83 450.00 725.62 Fulltime 1170.62
Keil Wader 762-84-6543 6.50 35 227.50 0.00 Parttime 227.50
Trish Dish 798-65-9844 7.52 40 300.80 0.00 Parttime 300.80
Anthony Lei 934-43-9843 9.50 56 380.00 228.00 Fulltime 603.00
Kenin Ashes 765-94-7343 4.50 30 135.00 0.00 Parttime 135.00
Cheryl Prince 983-54-9000 4.65 45 186.00 34.88 Fulltime 215.88
Kim Cares 343-11-2222 10.00 52 400.00 180.00 Fulltime 575.00
Dave Cockroach 356-98-1236 5.75 48 230.00 69.00 Fulltime 294.00
Will Kusick 232-45-2322 15.00 45 600.00 112.50 Parttime 712.50
C:\Users\jorda\Source\Repos\cst115-lab8-JordanHT-OIT\x64\Debug\CST116F2021-Lab8.exe (process 18336) 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 . . .
|