subject

Pretend you work for a cell service company. They offer three subscription plans, and you must code the billing logic! Plan 1: For $29.99 per month, the customer receives 400 minutes. Overage minutes are $0.35 per minute.
Plan 2: For $49.99 per month, the customer receives 800 minutes. Overage minutes are $0.30 per minute.
Plan 3: For $59.99 per month, the customer receives unlimited minutes. Your program must compute a customer's bill for that month.

Your program must compute a customer's bill for that month.

Prompt (ask) the user to enter their name.
If the user enters an empty string or a string with less than 2 characters, show an error and do not print any calculations.
Prompt (ask) the user to enter a plan number.
If the user enters an invalid plan number, show an error and do not print any calculations.
Prompt (ask) the user for how many minutes they used.
If the user enters a number less than 0, show an error and do not print any calculations.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:30
Jane’s team is using the v-shaped model for their project. during the high-level design phase of the project, testers perform integration testing. what is the purpose of an integration test plan in the v-model of development? a. checks if the team has gathered all the requirements b. checks how the product interacts with external systems c. checks the flow of data in internal modules d. checks how the product works from the client side
Answers: 1
question
Computers and Technology, 23.06.2019 08:00
Match the items with their respective descriptions.
Answers: 1
question
Computers and Technology, 23.06.2019 13:00
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
question
Computers and Technology, 23.06.2019 20:30
Column a of irma’s spreadsheet contains titles for each row, but her document is too big and will be printed three pages across. she wants to be sure that every page will be understood. what can irma do to with this problem?
Answers: 3
You know the right answer?
Pretend you work for a cell service company. They offer three subscription plans, and you must code...
Questions
question
Mathematics, 19.02.2020 06:05
Questions on the website: 13722359