Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using basic c++ 3. Mobile Service Provider programming challenge (Switch ) A mobile service provider has 3 different subscription packages for its customers. case A

Using basic c++

3. Mobile Service Provider programming challenge (Switch ) A mobile service provider has 3 different subscription packages for its customers. case A : charges = 39.99; base Minutes = 450.0 If the minutes are more than 450 the extra minutes will be charged .45 for the extra minutes case 'B : charges = 59.99; base Minutes = 900.0 If the minutes are more than 900 the extra minutes will be charged .40 for the extra minutes case C : charges = 69.99 which is a flat rate Write a program that calculates the customers monthly bill with the package he has chosen. It should also calculate 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

3. Mobile Service Provider programming challenge (Switch ) How to proceed? Enter the customer's pkg (A, B, or C): Validate if the package is Between A and C. Give a invalid message if its not. If its Valid then input Enter the number of minutes used: Print what the charges are whether its case A, B or C Use another Switch statement and display the savings if another package was used

Output

Enter the customer's pkg (A, B, or C): B

Enter the number of minutes used: 1000

The charges are 99.99

With package C you would have saved 30.00

Enter the customer's pkg (A, B, or C):A

Enter the number of minutes used: 1200

The charges are 377.49

With package B you would have saved 197.50

With package C you would have saved 307.50

Enter the customer's pkg (A, B, or C):C

Enter the number of minutes used: 1400

The charges are 69.99

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Medical Image Databases

Authors: Stephen T.C. Wong

1st Edition

1461375398, 978-1461375395

More Books

Students also viewed these Databases questions