Thread
:
derived classes compile error
View Single Post
0
xyzabc
Go4Expert Member
19Apr2009,10:56
Would this be the correct formula to calculate the surface area of Box b?
Code:
double Box::area() { return((2*length * width)+(2*width * depth)+(2*length*depth)); }
Last edited by xyzabc; 19Apr2009 at
11:05
..