Search:

Type: Posts; User: curmudgeon

Search: Search took 0.19 seconds.

  1. Re: Why am I getting a error message?? Help please!!

    I'll leave the calculation code up to you as this is something that you should experiment a bit wih, but the key is that you must change compensation inside of the loop:



    for (total = (int)...
  2. Re: Why am I getting a error message?? Help please!!

    Look at this loop:



    for (total = (int) sales; total <= sales * 1.5; total += INCREMENT) {
    System.out.printf("%20d\t\t%,.2f\n", total, compensation);
    }

    As you...
  3. Re: Why am I getting a error message?? Help please!!

    OK, then best of luck with the calculations.

    But again if you need our help, please re-read my post just above this one. Again "calculations don't work" tells us zip, nothing, nada.
  4. Re: Why am I getting a error message?? Help please!!

    You're welcome.

    If you still need our help, then you'll want to show the latest code and go into detail on the current state of your problem. The statement, "calculations don't work...", doesn't...
  5. Re: Why am I getting a error message?? Help please!!

    The main method signature cannot be changed if it is to be used by the JVM for starting a Java program, and so you'll want to re-review your notes or text. There you'll see that the return type must...
Results 1 to 5 of 6