Answered step by step
Verified Expert Solution
Link Copied!

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
3 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 3 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 3 files and a screenshot of your working program to complete your final exam.
Good luck!
Professor Percy
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Does the Medicare PPS payment under DRGs reduce costs? Discuss.

Answered: 1 week ago