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