For loop is not continuing till number becomes 0 I have a java program which count the digits in the integer using for loop