Write a C++ program (use if-else statement) to compute the telephone bill for the city consumers. The
Fantastic news! We've Found the answer you've been seeking!
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.
- 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)
Related Book For
Accounting Principles
ISBN: 978-1119048503
7th Canadian Edition Volume 1
Authors: Jerry J. Weygandt, Donald E. Kieso, Paul D. Kimmel, Barbara Trenholm, Valerie Warren, Lori Novak
Posted Date: