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
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.