表达式错误R的非法启动

时间:2019-07-06 15:41:50

标签: compiler-errors

我一直使用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

0 个答案:

没有答案