class Camera;
class Phone;
class WebBrowser;
class Mp3Player;
class DVDPlayer;
class iPad : public Camera, public Phone, public WebBrowser, public Mp3Player, public
DVDPlayer ;
And inside proper classes, following methods:
void takePhoto();
void makePhoneCall(string number);
Also, write a constructor for iPad class that calls the super classes’ constructor and write a
main() function to test your code.
Oh come on, you must be able to do something. How long have you been studying c++? Are you doing a degree or are you still at school? What have you learnt so far?