Write a Java program with the following requirements:

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

  • Package A: For $9.95 per month 30 hours of access are provided. Additional hours are $1.00 per hour.
  • Package B: For $24.95 per month 50 hours of access are provided. Additional hours are $1.00 per hour.
  • Package C: For $39.95 per month unlimited access is provided.
  • Write a program named InternetCharge_YourLastName that do the following:

*display the menu as follow:

  • Package A
  • Package B
  • Package C
  • Exit

*Then prompt users to enter a number to select the service package.

*prompt users to enter the used hours

*display the total charge in the following format. The total charge will include the tax 8.5% on the price

For example:


Used Hours: 45
Total charge: $26.58

All the calculation will be hidden from the application side.

Instruction: We should have two classes

  • class named InternetService_YourLastName that hold the information of the Internet service that contains: serviceType as a letter (A, B or C) and the number of hours that users used during the month. Also, it has the method to calculate the total charge based on the package type and the used hours. The output will be built in the method the toString
  • The controlling class or driver class with main method that contains all the tasks that the requirements ask for.
Academic Honesty!
It is not our intention to break the school's academic policy. Projects posted are only used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly fill out the form. Please provide a valid email address and we'll get back to you in less than 24 hours. We will be sending an invoice through PayPal upon confirmation. We are a non profit organization however we need an amount to keep this organization running, and to be able to complete our research and development.