An Internet Service Provider has three different subscriptionpackages for its cu
ID: 3616889 • Letter: A
Question
An Internet Service Provider has three different subscriptionpackages for its customers:Package A: For $9.95 per month 10 hours of access areprovided. Additional hours are $2.00 per hour.
Package B: For $14.95 per month 20 hours of access areprovided. Additional hours are $1.00 per hour.
Package C: For $19.95 per month unlimited access isprovided
Design a class that calculated a customer's monthly bill. It should store the letter of the package the customer haspurchased (A,B, or C) and the number of hours that were used. It should have a method that return the total charges. Demonstrate the class in a program that asks the user toselect a package and enter the number of hours used. Theprogram should display the total charges.
Package A: For $9.95 per month 10 hours of access areprovided. Additional hours are $2.00 per hour.
Package B: For $14.95 per month 20 hours of access areprovided. Additional hours are $1.00 per hour.
Package C: For $19.95 per month unlimited access isprovided
Design a class that calculated a customer's monthly bill. It should store the letter of the package the customer haspurchased (A,B, or C) and the number of hours that were used. It should have a method that return the total charges. Demonstrate the class in a program that asks the user toselect a package and enter the number of hours used. Theprogram should display the total charges.