Question: Create a java application based on the statement below a. Develop an application for users to choose whether to calculate (a) water bill or (b)
Create a java application based on the statement below
a. Develop an application for users to choose whether to calculate (a) water bill or (b) electricity bill or (c) telephone bill (choose one only)
b. The application developed must use a declaration variable, a calculation procedure corresponding to the actual scenario.
c. Applications will be given an additional 5 marks if any include (a) overloading constructor, (b) overloading method, and (c) array.
d. The bill calculation tariff must use the actual bill calculation formula used in Malaysia . (refer to the Internet or do a study at the water supply department, TNB or Telekom Malaysia if necessary).
e. The application must also be able to calculate the average bill usage for n months where the value of n can consist of {1,2,3,4,5,6,7,8,9,10,11,12}.
f. The value of n and the meter reading should be entered interactively by the user.
g. Display results when the user has finished entering what they want.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
