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
Need an indicator Project Description: Need an indicator which indicates target and trailing sl after entering trades. Skills required are C Programming, C++ Programming,

Want a scraping program created Project Description: We need to hire a professional developer to scrape the site for information such as *product title *Product Price

Q. Explain that how do we implement two stacks in one array A[1..n] in such a way that neither the stack overflows unless the total number of elements in both stacks together is n.

Homework – Chapter 5 – Bowling Scores 33. Write a complete C++ program to do the following: The main program reads in and prints three bowling scores, score1, score2, and score


Compiler Design - Limit In The Method Instructions

#question.to determine the area of a triangle,rectangle and trapezium

How does an ERP System facilitates better decision making?

program for factorial

Write a function that computes f(x) for a quadratic polynomial in x, such as the one in assignment 3. Use the function to plot f(x) from -10 to +10.