Answered step by step
Verified Expert Solution
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
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
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started