I don't understand this !!!

Hello
Could any one help me to solve this problem :::::


create a base class called shape.Use this class to store tow double type values that could be used to compute that area of figures.Derive tow specific classes called sphere and cone from the base class shape.member function display_valume() to compute and display the area of figures.Make display_valume () as a virtual function and redefine this function in the derived class to suite their requirements


Thank you so much
I think "tow" should be "two"
Also this one if you don't mind ^^
::::


start with publication, book and tape classes. Add a base class sale that holds an array of three floats so that it can record the dollar sales of a particular publication for the last three months.Include a getdata() function to get three sales amounts from the user and a putdatt() function to display the figures.Alter the book and tape classes so they are derived from both publication and sales.An object of class book or tape should imput sales data along with its other data.Write a main() program to create a book object and a tape object and exercise their input\output copabilities
Topic archived. No new replies allowed.