Search:

Type: Posts; User: Salem

Search: Search took 0.29 seconds.

  1. Replies
    6
    Views
    3,505

    What's so hard about putting some braces in your...

    What's so hard about putting some braces in your code?

    else if(weight >= 25000)
    input1 = 5.50;
    Becomes


    else if(weight >= 25000) {
    input1 = 5.50;
    // now you...
  2. Replies
    6
    Views
    3,505

    > i am able to do the calculate on an separate...

    > i am able to do the calculate on an separate source code to see it works,
    So why didn't you post this code as well?

    > else if(weight >= 25000)
    > input1 = 5.50;
    You put the code...
Results 1 to 2 of 2