Copy your codes from Thonny and paste it as the answer for this questions. * A new Electrical service provider, TMB (Tenaga Malaysia Berhad) provides clectricity for residential and commercial buildings. You are needed to develop a program that can calculate the bill for electricity consumption of the user. Figure 1 shows the table of how the rates are going to be applied according to residential (houses) and commercial (shops) premises. Tmaga Malaysia Berhad Monthly Ball The system requires the user to key in the amount of usage of electricity in kilowatt hour (kWh) and the program will calculate the bills for the Cestomer Inform ati on customers. Name Addess Phone Number : Type of premises XX, XX street, X city TARIFF CATEGORY Residential UNIT RATES Tariff Residential Commercia 21.8 Electricity usage for Month xx For the first 200k Wh (1-200 kWh) per month sen/kWh 40 Usage (in kWh) Amount for pay yy kWh RM yyy sen/kwh sen/kWh sen/kWh sen/kWh For the next 100kWh [(201-300 kwh) per month 33.4 40 For the next 100kWh (301-400 kWh) per month For the next 100kWh (401-500 kWh) per month For the next 100kWh (SÓ1 kwh onwards) per month Figure 1 40 41 40.2 42 45.4 42 Figure 2: Esample of the report Provide a report that shows the Customer information, address, phone number, type of premises and usage, with the bill amount. Figure 2 shows the example of the report.
Copy your codes from Thonny and paste it as the answer for this questions. * A new Electrical service provider, TMB (Tenaga Malaysia Berhad) provides clectricity for residential and commercial buildings. You are needed to develop a program that can calculate the bill for electricity consumption of the user. Figure 1 shows the table of how the rates are going to be applied according to residential (houses) and commercial (shops) premises. Tmaga Malaysia Berhad Monthly Ball The system requires the user to key in the amount of usage of electricity in kilowatt hour (kWh) and the program will calculate the bills for the Cestomer Inform ati on customers. Name Addess Phone Number : Type of premises XX, XX street, X city TARIFF CATEGORY Residential UNIT RATES Tariff Residential Commercia 21.8 Electricity usage for Month xx For the first 200k Wh (1-200 kWh) per month sen/kWh 40 Usage (in kWh) Amount for pay yy kWh RM yyy sen/kwh sen/kWh sen/kWh sen/kWh For the next 100kWh [(201-300 kwh) per month 33.4 40 For the next 100kWh (301-400 kWh) per month For the next 100kWh (401-500 kWh) per month For the next 100kWh (SÓ1 kwh onwards) per month Figure 1 40 41 40.2 42 45.4 42 Figure 2: Esample of the report Provide a report that shows the Customer information, address, phone number, type of premises and usage, with the bill amount. Figure 2 shows the example of the report.
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...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 2 images
Recommended textbooks for you
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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
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
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY