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
|
This file contains the console output for trial runs of each program in the main C++ source document.
7.2 - Learn by doing exercises #1 [Run 1]:
Please enter the amout of money you have (in USD):
20000
Do you have a checkings account (enter 0 for no, 1 for yes):
1
Do you have a savings account (enter 0 for no, 1 for yes):
1
Your account type is: Gold
C:\Users\jorda\Source\Repos\cst116-lab3-JordanHT-OIT\CST116F2021-Lab3\Debug\CST116 Lab3 Harris-Toovy.exe (process 7232) 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 . . .
7.2 - Learn by doing exercises #1 [Run 2]:
Please enter the amout of money you have (in USD):
14000
Do you have a checkings account (enter 0 for no, 1 for yes):
0
Do you have a savings account (enter 0 for no, 1 for yes):
0
Your account type is: Error
C:\Users\jorda\Source\Repos\cst116-lab3-JordanHT-OIT\CST116F2021-Lab3\Debug\CST116 Lab3 Harris-Toovy.exe (process 11552) exited with code 1.
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 . . .
7.4 - Learn by doing exercises #1 [Run 1]:
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: 1
This is where you would enter a name if this was more then a menu!
C:\Users\jorda\Source\Repos\cst116-lab3-JordanHT-OIT\CST116F2021-Lab3\Debug\CST116 Lab3 Harris-Toovy.exe (process 2936) 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 . . .
7.4 - Learn by doing exercises #1 [Run 2]:
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: 9
Goodbye
C:\Users\jorda\Source\Repos\cst116-lab3-JordanHT-OIT\CST116F2021-Lab3\Debug\CST116 Lab3 Harris-Toovy.exe (process 9904) 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 . . .
7.10 - Programing exercises #2 [Run 1]:
Enter the interest rate (in percent) of the loan: 9.23
Enter the principal (in USD) of the loan: 675
The payment due for this billing cycle is 87.30 USD
C:\Users\jorda\Source\Repos\cst116-lab3-JordanHT-OIT\CST116F2021-Lab3\Debug\CST116 Lab3 Harris-Toovy.exe (process 272) 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 . . .
7.10 - Programing exercises #2 [Run 2]:
Enter the interest rate (in percent) of the loan: 22
Enter the principal (in USD) of the loan: 350
Interest rate is too high
C:\Users\jorda\Source\Repos\cst116-lab3-JordanHT-OIT\CST116F2021-Lab3\Debug\CST116 Lab3 Harris-Toovy.exe (process 5292) exited with code 1.
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 . . .
8.2 - Learn by doing exercises #1:
Enter an interger between 1 and 50: 37
The even numbers between 37 and 0 (inclusive) are:
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
C:\Users\jorda\Source\Repos\cst116-lab3-JordanHT-OIT\CST116F2021-Lab3\Debug\CST116 Lab3 Harris-Toovy.exe (process 2792) 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 . . .
8.3 - Learn by doing exercises #1 [Run 1]:
Enter an interger between 1 and 50: 11
The even numbers between 11 and 0 (inclusive) are:
10
8
6
4
2
0
C:\Users\jorda\Source\Repos\cst116-lab3-JordanHT-OIT\CST116F2021-Lab3\Debug\CST116 Lab3 Harris-Toovy.exe (process 2416) 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 . . .
8.3 - Learn by doing exercises #1 [Run 2]:
Enter an interger between 1 and 50: -33
Invalid input
Enter an interger between 1 and 50: 75
Invalid input
Enter an interger between 1 and 50: 22
The even numbers between 22 and 0 (inclusive) are:
22
20
18
16
14
12
10
8
6
4
2
0
C:\Users\jorda\Source\Repos\cst116-lab3-JordanHT-OIT\CST116F2021-Lab3\Debug\CST116 Lab3 Harris-Toovy.exe (process 10712) 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 . . .
8.4 - Learn by doing exercises #1:
Enter the number of asignments: 4
Enter each score as a percent.
Enter score 1 : 80
Enter score 2 : 86
Enter score 3 : 77.5
Enter score 4 : 93.25
The average score is: 84.1875
C:\Users\jorda\Source\Repos\cst116-lab3-JordanHT-OIT\CST116F2021-Lab3\Debug\CST116 Lab3 Harris-Toovy.exe (process 11956) 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 . . .
8.10 - Programing exercises #3:
Enter maximum positive integer for the Fibonacci sequence: 999
1
1
2
2
3
5
8
13
21
34
55
89
144
233
377
610
987
C:\Users\jorda\Source\Repos\cst116-lab3-JordanHT-OIT\CST116F2021-Lab3\Debug\CST116 Lab3 Harris-Toovy.exe (process 8072) 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 . . .
|