Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C + + Final The goal of this Final exam is to create a C + + class called CellPhone. This class will represent a
C Final
The goal of this Final exam is to create a C class called CellPhone. This class will represent a simple concept of a cell
phone and its attributes. also include namespace std and fuction prototype.
Create a class called CellPhone that represents a cell phone using the following data members attributes:
manufacturer
model
retailPrice
Create the appropriate setters and getters for each data member.
Your class should have two constructors:
No arg constructor
arg constructor
Add a member function called displayPhoneDetails that prints out the data members for the CellPhone class.
Write a driver program to demonstrate CellPhone's capabilities.
Your program should use the default constructor, then call displayPhoneDetails.
Your program should prompt the user for the data members; manufacturer, model, and retailPrice.
This information should be used to call your arg constructor, then call displayPhoneDetails.
Separate the class definition from the implementation file from the driver program.
You should have a CellPhone.h file, a CellPhonelmp.cpp file and a CellPhone.cpp driver program
Upload all files and a screenshot of your working program to complete your final exam.
Good luck!
Professor Percy
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