Search:

Type: Posts; User: Junky

Search: Search took 0.07 seconds.

  1. Re: my High profitable items: 0 Bonus : $0.00 why??

    You say that the bonus variable should have the value 20. But the bonus variable is used twice in the code posted, both times it is assigned the value 0. Therefore it is impossible for it to have a...
  2. Re: my High profitable items: 0 Bonus : $0.00 why??

    double bonus=0; // bonus initialised to zero
    ....
    bonus = 0; // totally pointless line of code

    Where in the rest of your code do you change the value of bonus?
Results 1 to 2 of 2