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 5 - GRADE MAPPING/DESCRIPTION

Due Date:

Tuesday, 8:00 PM, Aug. 07, 2001

Output guide:
input 1: -10 -12 9.9
output1:
Point: [-10,12]
Square: [-10,12]; 9.9
area=98.01,
surface area=588.06
volume=970.299

input 2: 0 0 2
output2:
Point: [0,0]
Square: [0,0]; 2
area=4
surface area=24
volume=8

PIC10B Homework 5 Point Breakdown:
1. Comments................10
2. Point class def.........20
3. Square class def........20
4. Cube class def..........20
5. Output as an point......10
6. Output as a square......10
7. Calculations............10
Total.....................100


\Ivo D. Dinov, Ph.D., Department of Neurology and Program in Computing, UCLA School of Medicine/