i need some help with the following program.. i think i have the basics but do not understand the more "complicated things"
using namespace std;
cout <<"Enter the type of pet. "; cin >> type;
cout <<"The type of pet is "<< type << endl;
cout <<"Enter the price of your pet. ";cin >>price;
cout << "The price of your pet is " << price<<endl;
now i think that is right... i now need a class called dog and a class called cat... and need them to do the PARENT class's functions... though im not sure how to go about that... if anyone can provide some help that would be appreciated