неверное начало выражения errorr R - PullRequest
0 голосов
/ 06 июля 2019

Я продолжаю решать эту проблему с переменной allSum. Почему это так?

public static int reverse(int goingToReversedNumber){
    int holderParamater=gointToReversedNumber;
    int allSum=0;
    int tempVariable;
    int howLoopIsGonnaHappen=getDigitCount(goingToReversedNumber);
    for(int i=1;i<=howLoopIsGonnaHappen;i++){

        tempVariable=holderParamater%10;
        allSum += (tempVariable*(10**(howLoopIsGonnaHappen-i)));
        holderParameter/=10;


        }return allSum;
    }


}// most of the methods are been deleted because of the terms of StackOverflow
...