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)...
Type: Posts; User: curmudgeon
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)...
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...
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.
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...
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...