An internet service provider has three different


Question: Internet Service Provider

An Internet service provider has three different subscription packages for its customers:

Package A: $9.95 per month for 10 hours access. Additional hours are $2.00 per hour

Package B: $13.95 per month for 20 hours access. Additional hours are $1.00 per hour

Package C: $29.99 per month for unlimited access.

Write a program that performs the following two tasks:

  1. ask the user to enter the letter of the package the customer purchased (A, or B, or C) and the number of hours that we used. The program then should calculate and display the total charges for the package.
  2. if the customer purchased Package A, the program should also calculate and display the amount of money the customer would save by switching to package B or C
  3. If the customer purchased Package B, the program should also calculate and display the amount of money the customer would save by switching to Package C.
  4. For task 2 & 3, If there would be no savings, no message should be displayed.

Requirements: turn in the .java file as attachment

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: An internet service provider has three different
Reference No:- TGS01580524

Now Priced at $20 (50% Discount)

Recommended (92%)

Rated (4.4/5)