Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write an application that calculates the cost of cell phone service. The base cost is 10.99. Your program will provide a list of options as

image text in transcribed
Write an application that calculates the cost of cell phone service. The base cost is 10.99. Your program will provide a list of options as numbers, and the user will select options one at a time until the user enters 0 to stop. This is an accumulation operation because we are accumulating the total cost of the cell phone service. Follow the instructions to complete your program. 1. Display available options and index them with numbers, 1 1,000 anytime minutes: 25.49 2 Unlimited weekend minutes: 6.99 3 Nationwide long distance: 12.99 4 Text messaging: 5.99 2. Request user to enter options one at a time until the user enters 0 to stop. If the input is not a number between 0 and 4, display an error message and request another option

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

Students also viewed these Programming questions