aboutsummaryrefslogtreecommitdiff
path: root/RUNS.txt
blob: 6e0ac2125762e7031c0e3e2afdcbf2e144b317af (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
////////////////////////////////////////////////////////////
  RUNS FOR PROBLEM #1 LEARN BY DOING ON PAGE 323 ARE BELOW
////////////////////////////////////////////////////////////


                Enter up to 25 integers

        Integer 1 : 5

        Enter another? (y/n): y

        Integer 2 : 6

        Enter another? (y/n): y

        Integer 3 : 7

        Enter another? (y/n): y

        Integer 4 : 8

        Enter another? (y/n): n

                The median is 6.5

C:\Users\eclip\source\repos\lab 8 temp\Debug\lab 8 temp.exe (process 13772) 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 up to 25 integers

        Integer 1 : 8

        Enter another? (y/n): y

        Integer 2 : 9

        Enter another? (y/n): y

        Integer 3 : 10

        Enter another? (y/n): y

        Integer 4 : 11

        Enter another? (y/n): y

        Integer 5 : 12

        Enter another? (y/n): n

                The median is 10

C:\Users\eclip\source\repos\lab 8 temp\Debug\lab 8 temp.exe (process 14304) 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 up to 25 integers, smallest to greatest

        Integer 1 : 1

        Enter another? (y/n): y

        Integer 2 : 3

        Enter another? (y/n): y

        Integer 3 : 11

        Enter another? (y/n): y

        Integer 4 : 16

        Enter another? (y/n): y

        Integer 5 : 18

        Enter another? (y/n): y

        Integer 6 : 20

        Enter another? (y/n): n

                The median is 13.5

C:\Users\eclip\source\repos\lab 8 temp\Debug\lab 8 temp.exe (process 11024) 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 DEBUGGING EXERCISE ON PAGE 333 ARE BELOW
//////////////////////////////////////////////////////

//EXERCISE 1

Trouble Opening File

                 ** About to EXIT NOW! **
C:\Users\eclip\Source\Repos\cst115-lab8-JosephTenEyck\Debug\CST116F2021-Lab8.exe (process 10236) 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 . . .



David                      24
Melissa                    25
Flunker                    99
John                       19
Terry                      20


        ** Total Records: 5 **
                 The End

C:\Users\eclip\Source\Repos\cst115-lab8-JosephTenEyck\Debug\CST116F2021-Lab8.exe (process 18304) 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 . . .



David                      24
Melissa                    25
Flunker                    99
John                       19
Terry                      20
Jill                       22


        ** Total Records: 6 **
                 The End

C:\Users\eclip\Source\Repos\cst115-lab8-JosephTenEyck\Debug\CST116F2021-Lab8.exe (process 10692) 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 . . .



//EXERCISE 2

Trouble Opening File

                 ** About to EXIT NOW! **
C:\Users\eclip\Source\Repos\cst115-lab8-JosephTenEyck\Debug\CST116F2021-Lab8.exe (process 16168) 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 . . .



Trouble Opening 'dta File.txt'

                 ** About to EXIT NOW! **
C:\Users\eclip\Source\Repos\cst115-lab8-JosephTenEyck\Debug\CST116F2021-Lab8.exe (process 3240) 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 PROGRAMMING EXERCISES ON PAGE 336 IS BELOW
//////////////////////////////////////////////////////////////////

                ========================
                  EMPLOYEE INFORMATION
                ========================

                                     Base   Hours  Full/Part    Straight      Over
Name                 SS#             Wage   Worked   Time       Time Pay    Time Pay    Net Pay
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
John    Smith        123-09-8765    $9        46      F          $160        $24         $184
Molly   Brown        432-89-7654    $9.5      40      F          $180        $0          $180
Tim     Wheeler      239-34-3458    $11.25    83      F          $250        $268.75     $518.75
Keil    Wader        762-84-6543    $6.5      35      P          $227.5      $0          $227.5
Trish   Dish         798-65-9844    $7.52     40      P          $300.8      $0          $300.8
Anthony Lei          934-43-9843    $9.5      56      F          $180        $72         $252
Kevin   Ashes        765-94-7343    $4.5      30      P          $135        $0          $135
Cheryl  Prince       983-54-9000    $4.65     45      F          $-14        $-1.75      $-15.75
Kim     Cares        343-11-2222    $10       52      F          $200        $60         $260
Dave    Cockroach    356-98-1236    $5.75     48      F          $30         $6          $36
Will    Kusick       232-45-2322    $15       45      P          $600        $75         $675