Question: This si code that helps determine if there are any squared.numbers whose last two digits are odd. My question is on line 7, what is
This si code that helps determine if there are any squared.numbers whose last two digits are odd.
My question is on line 7, what is the logic behind having square / 10? How does dividing by 10 help us get our answer? I understand modulo give us the remainder, but dividing by 10 and then doing modulo 2 doesnt make sense to me. I appreciate any help

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
