Write a base class Computer that contains data members of wordsize (in bits), memory size in megabytes, and storage size in megabytes and speed in megahertz. Drive a Laptop class that is kind of computer but also specifies the object’s length width, height and weight. Member functions for both classes should include a default constructor, a constructor to initializes all components and a function to display data members.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here