Write a program that calculates a customers monthly bill it


Problem Statement

Assume that the Internet Service provider, Comcast, has three different subscription packages 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 is provided.

Write a program that calculates a customer's monthly bill. It should ask the user to enter the letter of the package the customer has purchased (A, B, or C) and the number of hours that were used. It should the display the total charges. In addition, it should display the amount of money Package A customers would save if they purchased Package B or C, and the amount of money Package B customers would save if they purchased Package C. If there would be no savings, no message should be printed.

Please write a program that displays the following information:

• The amount of money a customer will pay

• The amount of money a customer will save if he or she purchase Package B or C

• The amount of money must following a '$' and have 2 decimal points, such as $2.00, $34.56, etc.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program that calculates a customers monthly bill it
Reference No:- TGS01082992

Expected delivery within 24 Hours