aboutsummaryrefslogtreecommitdiff
path: root/TextFile1.txt
blob: a2ea48468821255611c7375bc31c6485f5dbc79e (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
========================================
  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 . . .