Question: Please write and explain the C# code to calculate and display this quarterly bill when bill information is typed into this screen and the 'Calculate
Please write and explain the C# code to calculate and display this quarterly bill when bill information is typed into this screen and the 'Calculate Bill' button is pressed subject to the calculations outlined below.
1. You may choose any name you wish for the controls on the form. You may assume that all entered values are correct, you are not required to implement any validation on the values entered.
Calculations:
2. All unoccupied properties have a fixed standing charge of 280 a year applied to them.
3. Occupied properties without meters are charged at an initial rate of 500 per annum fixed charge.
3. Occupied properties with meters are charged at 2 cent a litre for the water used which is the difference between the previous and current meter readings
4. For all occupied properties, the bill is then reduced by 80 per annum for each child up to a maximum of three children.
5. It is not possible to have a negative bill - if a bill amount falls below zero after a reduction then it should be set to zero.
6. Finally, all water bills are then subject to an additional VAT charge of 13.5%. 
Water4All Limited Property Status O Occupied Unoccupied Meter Status Meter Installed Details of Bill Customer Name Number of Adults Number of Children Previous Meter Reading Current Meter Reading Calculate Bill Bill Details Activate Windows Go to Settings to activate Windows
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
