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 $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.
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 1:
Enter package: A
Enter minutes used: 550
The monthly bill is $84.99
Sample run 2:
Enter package: C
Enter minutes used: 1000
The monthly bill is $69.99
Sample run 3:
Enter package: B
Enter minutes used: 100
The monthly bill is $59.99

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!