Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Code in C++ 3.21 LAB: Mobile Phone A mobile phone service provider offers the following voice plans: Package A: 450 minutes for $39.99..45/minute for each

image text in transcribed

Code in C++

3.21 LAB: Mobile Phone A mobile phone service provider offers the following voice plans: Package A: 450 minutes for $39.99..45/minute for each additional minute. Package B: 900 minutes for $59.99.40/minute for each additional minute. Package C: Unlimited minutes for $69.99. Output the following menu to prompt the user for the customer's cell phone plan and monthly minutes: Rate Plans: A. The 450 minute plan B. The 900 minute plan C. The unlimited plan Enter the letter of the rate plan and the number of minutes used in the month: Then compute the customer's monthly bill and display the total amount due with a dollar sign and formatted to 2 decimal places Ex: If the input is: B 875 the output is: $59.99 Ex: If the input is: A 550 the output is: $84.99 Ex: If the input is: D 550 the output is: Invalid Rate Plan

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

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students also viewed these Databases questions

Question

=+2 Is the decision sustainable in the long run?

Answered: 1 week ago

Question

=+1 Is the decision fair to employees?

Answered: 1 week ago