This assessment item is designed to test your understanding of variables, constants, types, operators,
standard console input/output, loops, if statements, classes, objects and methods.
Assessment task
Write a java application that calculates and displays the charges for N residents who pay the fees of
water usage quarterly to a local city council in Australia. N should be declared as a constant and
should be equal to the largest digit of your student id number (e.g. if your student id is s0705544 then
N should be equal to 7). Assume N=3, if the largest digit of your student id number is less than 3. The
charge standards of domestic water usage set by the local city council are shown below in the Table 1.
Table 1. Domestic Water Usage Charges
Usage (kL) Charge ($)
Tier 1 (up to 24kL) $0.7/kL (base rate)
Tier 2 ( from 25kL to 49kL) 105% base rate
Tier 3 ( from 50kL to 74kL) 115% base rate
Tier 4 ( above 75kL) 130% base rate
From the above table, it can be seen that the charge of water usage is categorized
1
Expert's answer
2013-08-15T07:56:23-0400
Unfortunately, your question requires a lot of work and cannot be done for free. Please submit it with all requirements as an assignment to our control panel and we'll assist you.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment