Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a C program that create a class of phone, consists of the private properties brand (char array) and country of origin, create another class
Write a C program that create a class of phone, consists of the private properties brand (char array) and country of origin, create another class of cellphone consist of the private properties model, year of production and capacity, use overload to access both classes, each class should have a default constructor, a constructor and a destroyer, use a friend function to print the details of the phone with larger capacity.
A C program please not C++ Thanks
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started