Search:

Type: Posts; User: deathpain

Search: Search took 0.33 seconds.

  1. Program that reads integers, finds the smallest of them, and counts its occurrences

    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...
  2. Replies
    2
    Views
    324

    using while to solve this question !

    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:...
  3. Re: how to make a program that does the following arithmetic expressions ?

    ok i got it now ,, thanks for the big help Norm & Tjstretch
  4. Re: how to make a program that does the following arithmetic expressions ?

    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...
  5. Re: how to make a program that does the following arithmetic expressions ?

    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
  6. Re: how to make a program that does the following arithmetic expressions ?

    how to do it with the string class split() method ?
    can you do an example for me ?
  7. Re: how to make a program that does the following arithmetic expressions ?

    how to parse the three parts ,, individually x,<,y
    can u give an example from 1 of the expressions above
  8. how to make a program that does the following arithmetic expressions ?

    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...
  9. Replies
    16
    Views
    3,643

    [SOLVED] Re: [Help] Java Project: Electricity Bill

    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
  10. Replies
    16
    Views
    3,643

    [SOLVED] Re: [Help] Java Project: Electricity Bill

    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...
  11. Replies
    16
    Views
    3,643

    [SOLVED] Re: [Help] Java Project: Electricity Bill

    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...
  12. Replies
    16
    Views
    3,643

    [SOLVED] Re: [Help] Java Project: Electricity Bill

    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)...
  13. Replies
    16
    Views
    3,643

    [SOLVED] Re: [Help] Java Project: Electricity Bill

    check the attached file project_one.doc in first post and see the table
  14. Replies
    16
    Views
    3,643

    [SOLVED] Re: [Help] Java Project: Electricity Bill

    it doesn't have a final rate ,,
    check the file i attached to get the point
  15. Replies
    16
    Views
    3,643

    [SOLVED] Re: [Help] Java Project: Electricity Bill

    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
  16. Replies
    16
    Views
    3,643

    [SOLVED] Re: [Help] Java Project: Electricity Bill

    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...
  17. Replies
    16
    Views
    3,643

    [SOLVED] [Help] Java Project: Electricity Bill

    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...
Results 1 to 17 of 17