LOLOLOL!!!

Haha

Thanks for the advice guys! You right. While working on this problem I noticed that THAT dividing by 10 is the only way but I was trying to either divide by 10 OR use mod%10, I didn't think of combining them which was my mistake.

Thanks for the help