We're a place where coders share, stay up-to-date and grow their careers.
The line 'sum += e * e' is what sums the digits
Ahh, I missed the while loop there. Oops
The line 'sum += e * e' is what sums the digits
Ahh, I missed the while loop there. Oops