Your getFactors() method returns factor, which is always 0. Nowhere in your code do you ever ign anything to factor so it's just 0 by default. You calculate other things, like b and number2, but you don't calculate factor so I don't understand what you are trying to do.
No comments:
Post a Comment