Mobile Service Provider

Programming Challenge 25: Mobile Service Provider(Page 228)For this program, make sure you include the following modifications- Make sure customer name and billing month is accepted. Billing month should be in the range 1-12. If it is not, please display an error message.- Make sure a user enters only ‘A’, ‘B’ or ‘C’ for the plan package code. Display an error message if any other letter is entered.- Only if a valid package code(‘A’,’B’, or ‘C’) is entered, then the user should be asked to enter the number of gigabytes used- Display a bill with month of bill, customer name, package code, charges included in package deal, and charge for additional data. Make sure you use identifying labels too.For Programming Challenge 25, you will need to send me the cpp file only .

A mobile phone service provider has three different subscription packages for its customers:

Package A: For $39.99 per month 450 minutes are provided. Additional minutes are $0.45 per minute.

Package B: For $59.99 per month 900 minutes are provided. Additional minutes are $0.40 per minute.

Package C: For $69.99 per month unlimited minutes provided.

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

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

×
New Download