Question: Create a program that determines the cost of a cell phone bill by multiplying the number of minutes used in a month by 1 0

Create a program that determines the cost of a cell phone bill by multiplying the number of minutes used in a month by 10 cents (0.10). The number of minutes cannot be negative and if a negative number is entered the user should be informed that there is an error. If the user enters more than 1000 minutes then they are charged an additional fee of 5 dollars. The program should display the number of minutes and the total cost only if number of minutes is not negative.
Your program should use meaningful variables and the style of those names should follow the style presented in the class. You should also use constants when appropriate. Inputs should be restricted to a type that is appropriate for this program. The program should only display output that is listed in the requirements. Failure to follow these directions or the requirements listed above can result in the loss of points for this question. Partial credit can be earned by completing parts of the program correctly. You can refer to examples above.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!