You are required to write a program that calculates and prints the bill for Viti Telephone Company. The company offers two types of services: regular and premium: its rate very depending on the type of service.
The rates are computed as follows:
$10.00 plus first 50 minutes are free.
Charges for over 50 minutes are $0.20 per minute
Calls made from 6.00 AM to 6.00 PM, the first 75 minutes are free charges over 75 minutes are $0.10 per minute.
For Calls made from 6.00 PM to 6.00 AM, the first 100 minutes are free; charges for over 100 minutes are $0.05 per minute.
Your program should prompt user to enter an account number, a service code (type char), and the number of minutes service was used. A service code of r or R means regular service; a service code p or P means premium service. Treat any other character as an error. Your program should output the account number, type of service number of minutes the telephone was used and the amount due from the user.
For the premium service, the customer may be using the service both during the day and at night. Therefore to calculate the bill, you must ask the user to input the number of minutes the service was used during the day and for the number of minutes the service was used at night
Thats da question...can sumbody make this program run plizz
What program? I see no code posted here. As we've already said, you need to demonstrate that you have made an attempt in earnest to solve to assignment, and post useful information about the problems you are experiencing and pose meaningful questions about the issues you are experiencing.
We will not do your homework for you. Is that clear enough? We'll assist you in fixing it, but you won't get a whole project written for you by anyone here.
write a program that continuously requests a grade to be entered if the grade is less than 0 or greater than 100 your program should print an appropriate message informing that the user an invalid has been entered else the grade should be added to a total.when a grade of 999 is entered the program should exit the repetition loop and compute and display the average of the valid grade entered
kalsu: Not only are you doing exactly what we told the OP not to do, you are hijacking another poster's thread to do it. If you persist in this sort of behavior, you are likely to get banned from the site.
Please start a new thread, and explain a) what you have already tried to do to solve your homework problem, and b) what problems you are experiencing in solving it.
If you want a free homework solution given to you, you have come to the wrong place; we recommend you quit the course and find something you are more suited to than programming. Otherwise, show us that you have made a good-faith effort to do the work yourself before coming here looking for help.