Question: Use java A mobile phone service provider has three different subscription packages for its customers. Package A: For $ 3 9 . 9 9 per
Use java
A mobile phone service provider has three different subscription packages for its customers.
Package A:
For $ per month, minutes are provided.
Additional minutes are $ per minute.
Package B:
For $ per month, minutes are provided.
Additional minutes are $ per minute.
Package C:
For $ per month, unlimited minutes are provided.
Write a program that calculates a customer's monthly bill. It should ask the user to enter the letter of the package the customer has purchased A B or C and the number of minutes that were used. The program should display a monthly bill. You may assume that the user will only enter A B or C You can use scanner.nextLine to read the package from the user.
Sample run :
Enter package: A
Enter minutes used:
The monthly bill is $
Sample run :
Enter package: C
Enter minutes used:
The monthly bill is $
Sample run :
Enter package: B
Enter minutes used:
The monthly bill is $
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
