All coding is done is JAVA. I am using IntelliJ Idea if it helps. 13. 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. Additonal minutes are $0.040 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 the total charges.
Stuck on how to go about this question.
All coding is done is JAVA. I am using IntelliJ Idea if it helps.
13. 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. Additonal minutes are $0.040 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 the total charges.
I provide the code in Java along with output and code screenshot
Trending now
This is a popular solution!
Step by step
Solved in 5 steps with 4 images