First off, why are you using a for loop? This is a simple mathmatical equation.
You know that you will make $400 on the first $5k, $500 on the second. So
if(commissonwant < 0)
sale = 0;
else...
Search:Type: Posts; User: CravenMorhead Search: Search took 0.02 seconds.
Results 1 to 1 of 1
|