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
Step: 1
Solutio...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get StartedRecommended Textbook for
Accounting Principles
Authors: Jerry J. Weygandt, Donald E. Kieso, Paul D. Kimmel, Barbara Trenholm, Valerie Warren, Lori Novak
7th Canadian Edition Volume 1
1119048508, 978-1119048503
Students also viewed these Programming questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App