Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program to calculate the monthly cell phone bill based on the following plan Minimum cost of $100 for up to 100 texts An
- Write a program to calculate the monthly cell phone bill based on the following plan
- Minimum cost of $100 for up to 100 texts
- An additional $0.60 per text for the next 50 texts after the first 100
- An additional $0.50 per text for the next 50 texts after the first 150
- An additional $0.40 for any texts after the first 200 texts.
- Minimum cost of $100 for up to 100 texts
- An additional $0.60 per text for the next 50 texts after the first 100
- An additional $0.50 per text for the next 50 texts after the first 150
- An additional $0.40 for any texts after the first 200 texts.
Your program will process an integer representing the number of texts for a given month, and print the result that is the bill for those texts. Use what we know about mathematical operations, if else statements and anything else we have learned to do this. C++
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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