wirte a program in java Part I     Internet Service Provider An Internet service provider has three different subscription packages...

50.1K

Verified Solution

Question

Programming

wirte a program in java

Part I     Internet ServiceProvider

An Internet service provider has three different subscriptionpackages for its customers:

Package A: For $9.95 per month 10 hours of access are provided.Additional hours

are $2.00 per hour.

Package B: For $13.95 per month 20 hours of access are provided.Additional hours

are $1.00 per hour.

Package C: For $19.95 per month unlimited access isprovided.

Write a program that calculates a customer’s monthly bill. Itshould ask the user to enter

the letter of the package the customer has purchased (A, B, orC) and the number of hours

that were used. It should then display the total charges.

Part 2   Internet ServiceProvider

Modify the program you wrote for Programming in part 1 so italso calculates and

displays the amount of money Package A customers would save ifthey purchased Package

B or C, and the amount of money Package B customers would saveif they purchased Package If there would be no savings, no messageshould be printed.

use printf for output and no arrays

Answer & Explanation Solved by verified expert
3.5 Ratings (541 Votes)
HeyNote Brother in case of any queries just comment inbox I would be very happy to assist all your queriesimport    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students