Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#include #include #include #include using namespace std; //Set variable for package int main() { const double packageA = 39.99; const double packageB = 59.99; const

#include #include #include #include using namespace std; //Set variable for package int main() { const double packageA = 39.99; const double packageB = 59.99; const double packageC = 69.99; char choices = ' '; int time=0; double cost;

cout > cost; //Ask user to input minutes used cout > time; //Time = 0 is the least amount of minutes you can use and time= 43829 is roughly the amount you can use in a month if (time>0 && time

image text in transcribed I Can't get my progrm to run correctly. It ends after I choose my plan. Please help.

Chapter 4 Making Decisions 25. Mobile Service Provider 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 Package B: For $59.99 per month 900 minutes are provided. Additional minutes are Package C: For $69.99 per month unlimited minutes provided. $0.45 per minute. $0.40 per minute. 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

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

Visual Basic6 Database Programming

Authors: John W. Fronckowiak, David J. Helda

1st Edition

0764532545, 978-0764532542

More Books

Students also viewed these Databases questions

Question

Determine the roles of spatial layout and functionality.

Answered: 1 week ago