We are going to build java program that calculate electrity bill based on the given units.
In this program person is asked to give the units through which we calculate electricitry based on it's units.
For diffrent range of unit there is diffrent unit per rupee cost that is as follows:
Read the commets for more detail as it mentein in the code.
NOTE : As in the code if a person units is 450 then for the first 100 units cost will be 1.5 then for next units till 300 units cost willl be 2.5 then the remaining units which is 3.0 rupee per unit. at last all the cost will be sumed and bill will be displayed.
Submitted by SAURABH BISHT (saurabh3511)
Download packets of source code on Coders Packet