he taught us that repeated actions can be done by if statements only
and thanks man ,, u're awesome i know how to do it now
Type: Posts; User: deathpain
he taught us that repeated actions can be done by if statements only
and thanks man ,, u're awesome i know how to do it now
1. for Residential, 2. for Commercial, 3. for Governmental, 4. for Agricultural, 5. for Charities, 6. for Private educational establishments, 7. for Private health establishments,
if...
i don't know to do arrays we didn't take these yet, is there an another way to do it ?
i have finished the logic for the 7 sets i have in the table but i don't know how to switch between them based...
i will get u to the point,,
if the user put the service on Residential
this will be the Rates:
if (Total >= 1 && Total <=1000)
RatePerUnit=5;
else if (Total >= 1001 && Total <=2000)...
check the attached file project_one.doc in first post and see the table
it doesn't have a final rate ,,
check the file i attached to get the point
i know how to compute the bill but i don't know how to let java take ( Residential Rates or Commercial Rates ) i don't know how to save it as a statement in java
thanks man ,,
and the other thing
as u can see in the attached file there is a table on how kwh consumption is calculated,,
for each service there is a consumption rate
for example at 4001-5000...
Hi Guys,
this is my first post at this great forum
i need help making an electricity bill based on a table i have which is kinda complicated for a java beginner programmer.
here is the project...