PIC 10B
(Sec. 1a-1b)
C++ Programming and Problem Solving
Instructor: Ivo Dinov,
Asst. Prof.
Neurology, Mathematics, Statistics
http://www.math.ucla.edu/~dinov/10b.1.011/
HOMEWORK 6 - GRADE MAPPING/DESCRIPTION
Due Date:
Tuesday, 8:00 PM, Aug. 14, 2001
Input used in trial runs
7 8
9 0
18.3 6.1
0 5e3
-5e-3 0
Q
output:
.875
exception
3
0
exception
PIC10B Homework 6 Point Breakdown:
1. Comments...................10
2. 2 ctors defined............10
3. set, what, message defns...10
4. template quotient defn.....20
Trial runs
5. Q/X to quit works..........10
6. division works.............20
7. try/catch/throw correct....20
Total................................100
\Ivo D. Dinov, Ph.D., Department of Neurology and Program in Computing, UCLA School of Medicine/