Question: Write a C++ program (use if-else statement) to compute the telephone bill for the city consumers. The bill computed according to the number of calls.
Write a C++ program (use if-else statement) to compute the telephone bill for the city consumers. The bill computed according to the number of calls.
- If numbers of calls are less than and equal to 100, then the rate per call is rs.0.80 and the meter charges is Rs. 250.
- If numbers of calls are greater than 100, then the rate per call is computed is Rs. 1.00 and the meter charges are minimum Rs.350.
Phone Bill = meter charges + (number of calls x rate per call)
Step by Step Solution
There are 3 Steps involved in it
Solutio... View full answer
Get step-by-step solutions from verified subject matter experts
