Write a program that computes the cost of a long distance ca, C/C++ Programming

Write a program that computes the cost of a long distance call. The cost of the call is determined according to the following rate schedules.
a. A call made between 8:00 AM and 6:00 PM is billed at a rate of 6 rupees per minute.
b. A call made before 8:00 AM or after 6:00 PM is charged at a rate of 3.75 rupees.
The input to the program will consist of the time the call started, and the length of call in minutes. The output will be the cost of call. The time is to be input in 24-hours notation, so the time 1:30 PM is input as 13:30. The time will be input using two variables of type int, one used for hour and other used for minutes. The number of the minutes for length of the call will also be input as a value of type int.

Posted Date: 3/3/2013 8:54:40 AM | Location : Pakistan







Related Discussions:- Write a program that computes the cost of a long distance ca, Assignment Help, Ask Question on Write a program that computes the cost of a long distance ca, Get Answer, Expert's Help, Write a program that computes the cost of a long distance ca Discussions

Write discussion on Write a program that computes the cost of a long distance ca
Your posts are moderated
Related Questions
Employ operator () instead of operator[]. While you have multiple subscripts, the cleanest way to do it is along with operator () instead of with operator[]. The reason is that

How I get C, C++, C# .net assignments ?


Lennie McPherson, proprietor of Lennie''''s Bail Bonds, needs to calculate the amount due for setting the bail. Lennie requires something of value as collateral, and his fee is 10%

write a program that would accept the radius of the sphere and return its surface area.

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send


c program to find pebble merchant