http://www.math.ucla.edu/~dinov/10b.1.011/ |

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

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