Write a program that calculates and prints the bill for a cellular telephone company. The company offers two types of services: regular and premium. Its rates vary depending on the type of service. The rates are as follows:
Regular service: $10.00 plus first 50 minutes are free. Charges for over 50 minutes are $.20 pre minutes.
Premium service: $25.00 plus:

  1. for calls made from 6:00am to 6:00pm, the first 75 minutes are free; charges for over 75 minutes are $.10 per minutes

for calls made from 6:00pm to 6:00am, the first 100 minutes are free; charges for over 100 minutes are $0.05 per

Recommended Answers

All 5 Replies

Please read this and post your code when you are ready.

Please read this and post your code when you are ready.

Ok, it's a 404, but what he is trying to say is thta whe're not gonna do your homework :-|

This is basically the same.

Write a program that calculates and prints the bill for a cellular telephone company. The company offers two types of services: regular and premium. Its rates vary depending on the type of service. The rates are as follows:
Regular service: $10.00 plus first 50 minutes are free. Charges for over 50 minutes are $.20 pre minutes.
Premium service: $25.00 plus:

  1. for calls made from 6:00am to 6:00pm, the first 75 minutes are free; charges for over 75 minutes are $.10 per minutes

for calls made from 6:00pm to 6:00am, the first 100 minutes are free; charges for over 100 minutes are $0.05 per

Sorry but what is the question?

Think assignment, rather than question.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.