aboutsummaryrefslogtreecommitdiff
path: root/Runs.txt
blob: 43bb8ce5a892cb3ebc7834c7c69f7ecf9fb82857 (plain) (blame)
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~  THIS TEXT FILE CONTAINS SUCCESSFUL RUNS  ~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~  RUN FOR PROBLEM #1 ON PAGE 207 IS BELOW  ~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


        Enter value 1: 5

        Enter value 2: 7

        Enter value 3: 23


                The average is: 11.6667

C:\Users\eclip\Source\Repos\cst116-lab4-JosephTenEyck\x64\Debug\CST116F2021-Lab4.exe (process 8764) 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 214 ARE BELOW  ~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Enter the employee's salary: 25000

Enter the employee's years of service: 1


        Employee's years of service: 1
        New salary: 25500
        Bonus: 0



C:\Users\eclip\Source\Repos\cst116-lab4-JosephTenEyck\x64\Debug\CST116F2021-Lab4.exe (process 17488) 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 the employee's salary: 25000

Enter the employee's years of service: 6


        Employee's years of service: 6
        New salary: 26250
        Bonus: 1500



C:\Users\eclip\Source\Repos\cst116-lab4-JosephTenEyck\x64\Debug\CST116F2021-Lab4.exe (process 20104) 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 the employee's salary: 25000

Enter the employee's years of service: 11


        Employee's years of service: 11
        New salary: 27500
        Bonus: 2500



C:\Users\eclip\Source\Repos\cst116-lab4-JosephTenEyck\x64\Debug\CST116F2021-Lab4.exe (process 3348) 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 the employee's salary: 0
Enter the employee's salary: -1
Enter the employee's salary: 30000.0

Enter the employee's years of service: -1
Enter the employee's years of service: -2
Enter the employee's years of service: 0
Enter the employee's years of service: 23


        Employee's years of service: 23
        New salary: 33000
        Bonus: 5500



C:\Users\eclip\Source\Repos\cst116-lab4-JosephTenEyck\x64\Debug\CST116F2021-Lab4.exe (process 17544) 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 216 ARE BELOW  ~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



        Enter Hours   (0 - 23): 10

        Enter minutes (0 - 59): 25

        Enter seconds (0 - 59): 9


                Time output formats
        1) 12hr
        2) 24hr
        3) Military

                Choose format: 1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        The time is 10:25:9AM

C:\Users\eclip\Source\Repos\cst116-lab4-JosephTenEyck\x64\Debug\CST116F2021-Lab4.exe (process 16484) 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 Hours   (0 - 23): 12

        Enter minutes (0 - 59): 42

        Enter seconds (0 - 59): 50


                Time output formats
        1) 12hr
        2) 24hr
        3) Military

                Choose format: 1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        The time is 12:42:50PM

C:\Users\eclip\Source\Repos\cst116-lab4-JosephTenEyck\x64\Debug\CST116F2021-Lab4.exe (process 21088) 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 Hours   (0 - 23): 15

        Enter minutes (0 - 59): 33

        Enter seconds (0 - 59): 1


                Time output formats
        1) 12hr
        2) 24hr
        3) Military

                Choose format: 1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        The time is 3:33:1PM

C:\Users\eclip\Source\Repos\cst116-lab4-JosephTenEyck\x64\Debug\CST116F2021-Lab4.exe (process 23060) 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 Hours   (0 - 23): 16

        Enter minutes (0 - 59): 20

        Enter seconds (0 - 59): 14


                Time output formats
        1) 12hr
        2) 24hr
        3) Military

                Choose format: 2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        The time is 16:20:14

C:\Users\eclip\Source\Repos\cst116-lab4-JosephTenEyck\x64\Debug\CST116F2021-Lab4.exe (process 9076) 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 Hours   (0 - 23): 4

        Enter minutes (0 - 59): 10

        Enter seconds (0 - 59): 3


                Time output formats
        1) 12hr
        2) 24hr
        3) Military

                Choose format: 3

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

        The time is 0410:03

C:\Users\eclip\Source\Repos\cst116-lab4-JosephTenEyck\x64\Debug\CST116F2021-Lab4.exe (process 17988) 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 DEBUGGING EXERCISE 9.13 ON PAGES 226 - 229 IS BELOW BELOW. ~~
~~  ANSWERS FOR QUESTIONS WITHIN THE EXERCISE ARE IN THE CODE.         ~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please enter your age: 20
20! Boy are you old!
Did you know that you are at least 7300 days old?


C:\Users\eclip\Source\Repos\cst116-lab4-JosephTenEyck\x64\Debug\CST116F2021-Lab4.exe (process 22940) 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 229 ARE BELOW  ~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



                ┌ - - - - - - - - - ┐
                   Simple box maker
                └ - - - - - - - - - ┘

        Enter desired width: 10

        Enter desired height: 10
┌────────┐
│        │
│        │
│        │
│        │
│        │
│        │
│        │
│        │
└────────┘


C:\Users\eclip\Source\Repos\cst116-lab4-JosephTenEyck\x64\Debug\CST116F2021-Lab4.exe (process 20544) 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 . . .




                ┌ - - - - - - - - - ┐
                   Simple box maker
                └ - - - - - - - - - ┘

        Enter desired width: 23

        Enter desired height: 6
┌─────────────────────┐
│                     │
│                     │
│                     │
│                     │
└─────────────────────┘


C:\Users\eclip\Source\Repos\cst116-lab4-JosephTenEyck\x64\Debug\CST116F2021-Lab4.exe (process 15708) 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 . . .