Question: C++ PROGRAMS: A mobile phone service provider has three different data plans for its customers: Package A: For $39.99 per month, 4 gigabytes are provided.

C++ PROGRAMS: A mobile phone service provider has three different data plans for its customers:

Package A:

For $39.99 per month, 4 gigabytes are provided. Additional data costs $10 per gigabyte.

Package B:

For $59.99 per month, 8 gigabytes are provided. Additional data costs $5 per gigabyte.

Package C:

For $69.99 per month, unlimited data is provided.

Write a program that calculates a customers monthly bill. It should ask which package the customer has purchased and how many gigabytes were used. It should then display the total amount due.

Input Validation: Be sure the user only selects package A, B, or C.

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!