Answered step by step
Verified Expert Solution
Link Copied!

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

  1. Write a program to calculate the monthly cell phone bill based on the following plan
    1. Minimum cost of $100 for up to 100 texts
    2. An additional $0.60 per text for the next 50 texts after the first 100
    3. An additional $0.50 per text for the next 50 texts after the first 150
    4. 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

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions