|
@@ -92,7 +92,6 @@ To plot a curve that is described by parametric equations, we compute the $$x$$
|
92
|
92
|
|
93
|
93
|
!INCLUDE "../../eip-diagnostic/pretty-plots/en/diag-pretty-plots-01.html"
|
94
|
94
|
<br>
|
95
|
|
-
|
96
|
95
|
!INCLUDE "../../eip-diagnostic/pretty-plots/en/diag-pretty-plots-02.html"
|
97
|
96
|
<br>
|
98
|
97
|
!INCLUDE "../../eip-diagnostic/pretty-plots/en/diag-pretty-plots-03.html"
|
|
@@ -209,16 +208,14 @@ Suppose that all courses in Cheo's University are $$3$$ credits each and have th
|
209
|
208
|
|
210
|
209
|
b. Remember that, in C++, when both operands in the division are integers, the result will also be an integer; the remainder will be discarded. Use "type casting": `static_cast<type>(expression)` to solve this problem.
|
211
|
210
|
|
212
|
|
- !INCLUDE "../../eip-diagnostic/pretty-plots/en/diag-pretty-plots-05.html"
|
213
|
|
-
|
214
|
|
- ---
|
215
|
|
-
|
216
|
|
- <br>
|
217
|
|
- !INCLUDE "../../eip-diagnostic/pretty-plots/en/diag-pretty-plots-06.html"
|
218
|
|
- <br>
|
219
|
|
- !INCLUDE "../../eip-diagnostic/pretty-plots/en/diag-pretty-plots-07.html"
|
|
211
|
+ ---
|
220
|
212
|
|
221
|
|
- <br>
|
|
213
|
+ !INCLUDE "../../eip-diagnostic/pretty-plots/en/diag-pretty-plots-05.html"
|
|
214
|
+ <br>
|
|
215
|
+ !INCLUDE "../../eip-diagnostic/pretty-plots/en/diag-pretty-plots-06.html"
|
|
216
|
+ <br>
|
|
217
|
+ !INCLUDE "../../eip-diagnostic/pretty-plots/en/diag-pretty-plots-07.html"
|
|
218
|
+ <br>
|
222
|
219
|
3. Verify your program by computing the GPA of a student that has two A's and 2 B's; what is the average of this student? When your program is correct, save the `main.cpp` file and submit it using "Deliverable 2" in Moodle. Remember to follow the instructions regarding the names and types of the variables, to include the names of the programmers, to document your program and to use good programming practices.
|
223
|
220
|
|
224
|
221
|
|