Question: Mobile Service Provider In this assignment you will be creating a class that maintains data for a mobile phone service. Internally the program will keep
Mobile Service Provider
In this assignment you will be creating a class that maintains data for a mobile
phone service. Internally the program will keep track of the cost of each package,
which package the customer currently has and the number of minutes used. It will
then use that information to calculate the bill for that month. It will also need to
determine if the customer would save money by changing plans. That is based on
the current plan and the number of minutes used.
Note if customer is on plan A then need to determine if better to move to plan
or If the customer is on plan B needs to determine if the customer should move
to plan It does not change the plan for the customer, just tells them they might
be better off with an upgrade.
Mobile Service Provider Class requirements
Store the plan the customer has
Store the number of minutes used by the customer
Store the price for each plan and the number of minutes for each plan
Provide the correct mutators
Provide the correct accessors
Provide an internal only method to determine if an upgrade should be
suggested
Provide a method to determine the amount of the bill and display update if
needed.
Main Class requirements
Creates instances of the above class. two different customers
Prompt the user to select a package
Prompt the user for the number of minutes used
Provide the information inputted by the user to the instance of the above
class.
Repeat the last steps for the second customer
Display the customer bill information
Package A: $ per month for minutes, each extra minute $ per
minute
Package B: $ per month for minutes, each extra minute $ per
minute
Package C: $ per month for unlimited minutes
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
