Question: Write a program in C + + that can calculate the cost of a telephone call according to the following price schedule: The program asks
Write a program in C that can calculate the cost of a telephone call according to the following price schedule:
The program asks the user to enter the time the call is made day evening, or night and the duration of the call a number that can have one digit to the right of the decimal point If the duration of the call is not an integer, the program rounds up the duration to the next integer. The program then displays the cost of the call. Run the program three times for the following calls: a min at : PMb min at : PMc min at : AM
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
