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
Write a recursive function recursiveMin that takes an integer array, a starting subscript and an ending subscript as arguments, and returns the smallest element in the array. The f

Differentiate between the expression "++a" and "a++"? - With ++a, increment happens first on variable a, and resulting value is used. This is known as prefix increment. - Wi

The ability to verify at run time the type of an object by using the typed operator or the dynamic_cast operator.

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

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

steric in square

write a class player that contain attributes for the player,s name,average and team

what are objects or simply define objects

Project Description: I am seeking someone who can make this modem work with Linux Caller ID on Ubuntu present stable version. Skills required are C Programming, Python

Explain the Macros? Preprocessor' is a translation stage that is applied to your source code before the compiler proper gets its hands on it. Usually the preprocessor performs