1. Create a Raptor Flow Chart for this problem (hand written or using a software) ; screen capture it or save it as a Picture. and attach it here Write a program to calculate and output the electricity bill of a given customer. The number of kWh consumed by the customer should be read in from the keyboard, and then display the total amount the customer has to pay. The charges are as follows: Electric consumption Charge/kWh 0-199 kWh Php 4.50 200 kwh and above but less than 400 kWh Php 4.75 400 kwh and above but less than 600 kwh Php 5.00 600 kWh and above Php 5.50 The minimum bill is Php 250.00. Meaning, even if the customer consumed 55 kwh or less, the customer's electricity bill will stil be Php 250.00. Also, if the bill exceeds Php 4,400.00, a 15% surcharge will be added to the bill. Sample Input: Input No of kWh: 55 Expected Output: Electric bill (in pesos): 250.00 Sample Input: Input No of kWh: 56 Expected Output: Electric bill (in pesos): 252.00 Sample Input: Input No of kWh: 820 Expected Output: Electric bill (in pesos): 5,186.50

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
1. Create a Raptor Flow Chart for this
problem (hand written or using a
software) ; screen capture it or save
it as a Picture. and attach it here
Write a program to calculate and output the electricity bill of a given customer.
The number of kWh consumed by the customer should be read in from the
keyboard, and then display the total amount the customer has to pay. The
charges are as follows:
Electric consumption
Charge/kWh
0- 199 kWh
Php 4.50
200 kwh and above but less than 400 kWh Php 4.75
400 kwh and above but less than 600 kwh Php 5.00
600 kWh and above
Php 5.50
The minimum bill is Php 250.00. Meaning, even if the customer consumed 55
kwh or less, the customer's electricity bill will stil be Php 250.00. Also, if the bill
exceeds Php 4,400.00, a 15% surcharge will be added to the bill.
Sample Input:
Input No of kWh: 55
Expected Output:
Electric bill (in pesos): 250.00
Sample Input:
Input No of kWh: 56
Expected Output:
Electric bill (in pesos): 252.00
Sample Input:
Input No of kWh: 820
Expected Output:
Electric bill (in pesos): 5,186.50
Transcribed Image Text:1. Create a Raptor Flow Chart for this problem (hand written or using a software) ; screen capture it or save it as a Picture. and attach it here Write a program to calculate and output the electricity bill of a given customer. The number of kWh consumed by the customer should be read in from the keyboard, and then display the total amount the customer has to pay. The charges are as follows: Electric consumption Charge/kWh 0- 199 kWh Php 4.50 200 kwh and above but less than 400 kWh Php 4.75 400 kwh and above but less than 600 kwh Php 5.00 600 kWh and above Php 5.50 The minimum bill is Php 250.00. Meaning, even if the customer consumed 55 kwh or less, the customer's electricity bill will stil be Php 250.00. Also, if the bill exceeds Php 4,400.00, a 15% surcharge will be added to the bill. Sample Input: Input No of kWh: 55 Expected Output: Electric bill (in pesos): 250.00 Sample Input: Input No of kWh: 56 Expected Output: Electric bill (in pesos): 252.00 Sample Input: Input No of kWh: 820 Expected Output: Electric bill (in pesos): 5,186.50
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY