Mobile Service Provider
A mobile phone service provider has three different subscription packages for its customers:
Package A: | For $39.99 per month 450 minutes are provided. Additional minutes are $0.45 per minute. |
Package B: | For $59.99 per month 900 minutes are provided. Additional minutes are $0.40 per minute. |
Package C: | For $69.99 per month unlimited minutes are provided. |
Design a class that calculates a customer’s monthly bill. It should store the letter of the package the customer has purchased (A, B, or C) and the number of minutes that were used. It should have a method that returns the total charges. Demonstrate the class in a program that asks the user to select a package and enter the number of minutes used. The program should display the total charges.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.