Hello SOK,

One of your problems is here:


// calculates place value.
checkDigit = num % 10;
totalSum = checkDigit;

while (power < 16) {