i need help with this homework, i tried to do it many times but still the outputs are wrong,
help is appreciated.
Write a program that reads integers, finds the smallest of them, and counts
its...
Type: Posts; User: deathpain
i need help with this homework, i tried to do it many times but still the outputs are wrong,
help is appreciated.
Write a program that reads integers, finds the smallest of them, and counts
its...
Write a program that reads the total number of students, and each students name and score, and finally displays the name of the student with the lowest score and the average score.
Sample run:...
ok i got it now ,, thanks for the big help Norm & Tjstretch
what i mean by parsing is like when using JOptionPane.showInputDialog to take numbers from the user and then parsing them into an integer or double,
since i'm going to use a string and split it into...
i know to do a split method, but after splitting the parts how do i take each and parse ?
that's what i'm not getting till now
how to do it with the string class split() method ?
can you do an example for me ?
how to parse the three parts ,, individually x,<,y
can u give an example from 1 of the expressions above
how to make a program that does the following arithmetic expressions?
x+ y , x-y ، x/y ، x*y ، x%y , x > y , x < y
i would like to make the user to inputs the expression and program to show the...
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...