Page 14 - Samawat_Arsalan_Hyder_19_arid_855
P. 14
SAMAWAT ARSALAN HYDER 19-ARID-855
else if (a=='d')
Userchoice=DVD;
}
void putdata()
{
cout<<"\nDisk type is: ";
if(Userchoice==CD)
cout<<"CD";
else if (Userchoice==DVD)
cout<<"DVD";
}
~Disk()
{
cout<<"\nGood Bye..........";
}
};
int main()
{
Tape tape1;
tape1.getdata();
Book book1;
book1.getdata();
book1.putdata();
tape1.putdata();
Disk d;
d.getdata();