Instructions:
Calculate House Electricity Bill
You have been assign by your company to develop a program to calculate electricity tariff for the domestic house hold. As a system developer, you have been instructed to develop a system that uses an interactive graphical user interface to calculate the amount of payment for every electricity usage.
The electricity tariff is based on the table below:
Block Tariff (per month) |
Unit |
Rate |
For the first 200 kWh (1-200 kWh) per month |
sen/kWh |
0.218 |
For the next 100 kWh (201 – 300 kWh) per month |
sen/kWh |
0.344 |
For the next 300 kWh (301 – 600 kWh) per month |
sen/kWh |
0.516 |
For the next 300 kWh (601 – 900 kWh) per month |
sen/kWh |
0.546 |
For the next kWh (901 kWh onwards) per month |
sen/kWh |
0.571 |
The minimum monthly chafe is RM300 |
As government needs to raise money to battle Covid-19 pandemic, every electricity consumption exceeds 600kWH will require the customer to pay additional 6% for SST purpose.
Enter your first 200 kWh (1-200 kWh) per month : |
200 |
RM 43.60 |
Enter next 100 kWh (201 – 300 kWh) per month : |
100 |
RM 34.40 |
Enter next 300 kWh (301 – 600 kWh) per month : |
300 |
RM 154.80 |
Enter next 300 kWh (601 - 900 kWh) per month : |
180 |
RM 98.28 |
Estimated Bill : |
RM 331.08 |
For instance, the user has used 780 kWh electric capacities in a month. You have to ask your user to enter the first 200 kWh in text field you have already provided. If there any next 100 kWh they have to enter the value.
Use the following simple output to assist you and the calculation is based on the table above.
In the end of the program, you should display details of the bill such as the total electricity consumptions (kWh), total consumption (RM), 6% SST if the kWh consumption more than 700 kWh and total current bill to be paid by the customer.
In order to make sure the user will enter the correct type of input, you have to include a validation code in the system. Each of the incorrect input, the system will print out warning and ask the user to input the data once more.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme