10.04.2017, 10:45
what are you doing you have to use else if. Your code means, if a variable is 0 increase it by 1, again check is it one and then again increase it then its 2 and so on.
EDIT: Big mistake the return will work.
EDIT: Big mistake the return will work.