Question: Please help me code this question. it has 3 expected output. Test 1, test 2 and test 3. This is Java programming course A mobile

 Please help me code this question. it has 3 expected output.

Test 1, test 2 and test 3. This is Java programming course

Please help me code this question. it has 3 expected output. Test 1, test 2 and test 3. This is Java programming course

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 using 'Switch' case statement 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. Expected Output: Test Case 1: What is your mobile plan package (A,B or C):A How many minutes did you use:450 Your total charges with plan A is $39.99 Test Case 2: What is your mobile plan package (A, B or C):b How many minutes did you use:1000 Your total charges with plan b is $99.99000000000001 Test Case 3: Test Case 3: What is your mobile plan package (A,B or C):D How many minutes did you use:458 Enter correct package plan character, A,B or C

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!