Question: Using conditional statement, write a C + + program that will simulate an Internet Service Provider, ISP, that calculates a customer s monthly bill. The

Using conditional statement, write a C++ program that will simulate an Internet Service Provider, ISP, that calculates a customers monthly bill. The ISP company has three different subscription packages for its customers:
Package
Monthly cost
Extra charge
Basic
$9.99 per month for 5 hours of streaming
For 6 to 10 hours, extra charge of $5.99
For 11 to 20 hours, extra charge of $9.99
For 21 hours and up, extra charge of $ 15.99
Plus
$14.99 per month for 20 hours of streaming
For 21 to 30 hours, extra charge of $7.99
For 31 hours and up, extra charge of $ 12.99
Elite
$29.99 per month for 30 hours of streaming
For 31 to 40 hours, extra charge of $8.99
For 41 hours and up, extra charge of $ 10.99
The program should ask the user to enter a customer name, which package the customer has purchased, and how many hours were used. The total number of hours must be between 1 and 720 hours. Any other hours, the program will not make the calculation and prompt a receipt as ZERO purchases.
At the end of the program, the program will create a bill with the following information:
---------------- INTERNET SERVICE CHARGE -------------
Customer name _______
Package _______
Total hours used _______
Package charge $______
Extra charge $______
TOTAL $______

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!