Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Topics: Problem solving, conditionals. Problem is in C++. Write a program that computes your phone bill for the month. Your bill is based on the
Topics: Problem solving, conditionals. Problem is in C++. Write a program that computes your phone bill for the month. Your bill is based on the number of hours of phone use, along with your package. Here are the different packages: -------------------------------------------------------------------------- Basic package: For $9.95 per month 10 hours of access are provided. Additional hours are $2.00 per hour. Gold package: For $14.95 per month 20 hours of access are provided. Additional hours are $1.00 per hour. Platinum package: For $19.95 per month unlimited access is provided. -------------------------------------------------------------------------- Write a program that ask the user to enter their package plan, along with the total hours they have used for the month. Then, tell the user how much their bill is for the month. Example run 1: Welcome to the RobCast Phone Company! Which package plan are you subscribed to? > gold Gold, eh? Ok, how many hours did you spend blabbing on the phone this month? > 23 Wow, 23 hours!?!? You've got a problem dude! Anyway, your total bill is $17.95.
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