Test 2, Question 10


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]

Posted by James Keenan on December 18, 2001 at 22:40:48:

On the second test this semseter, question 10 gives us a new formula to calculate the volume of the cone. In class, and on the koofer, this new formula is illegal. I typed this code in the compiler, and did it did not generate an error. I think an error is not generated b/c the circle class is inheritated via public inheritance and therefore every cone object also has a Center and radius. I dont think both professors could have made the error of saying that this new formula is wrong, so what am i doing wrong? thanx


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2704 Web Discussion Board ] [ FAQ ]