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.
Formula for bill calculation is:

Phone Bill = meter charges + (number of calls x rate per call)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Solutio... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!