Display household with the highest consumption for a selected month

SKU: wufo67 Category:

Average power consumption of a selected household between Jun to Dec 2014

 

Order Now

According to the SP service data, the power consumption by household type in Singapore in 2014 is shown in the table.

Electricity Consumption (kWh) in 2014

JanFebMarAprMayJunJulAugSepOctNovDec
HDB 1-Room110123135139139143134131140130122119
HDB 2-Room158179192200197203192184196184177164
HDB 3-Rooms237277299312309309287280294273251237
HDB 4-Room323375402428419423394376399373346323
HDB 5-Room376435466500490497460437466436401377

 

Write a program to show a menu with options that allows the user to display:

1. Average power consumption of a selected household between Jun to Dec 2014.

2. Maximum quarterly (Jan – Mar, Apr – Jun, Jul – Sep and Oct – Dec) average power consumption of the household.

3. Display the monthly difference between power consumption of HDB 5-Room and average HDB 5-Room power consumption in 2014.

 

You are encouraged to incorporate additional features and functions and implement good, well-documented and structured problem solution.

Examples of additional features (not limiting to only the following):

4. Display household with the highest consumption for a selected month.

5. Display difference between power consumption of HDB 5-Room and combined power consumption of HDB 1-Room, HDB 2-Room and HDB 3-Room for all months.

6. Allowing the user to change the data of the 5 data sets in any month.

 

Reviews

There are no reviews yet.

Be the first to review “Display household with the highest consumption for a selected month”

Your email address will not be published. Required fields are marked *

Sorry no more offers available
Call Back