Relative Content

Tag Archive for arraysc

Checking for Indices Manually

How do I check indices of a given integer number manually?
For example,
I have an 13 digit number (EAN number). I want to check the indices and determine whether they are even or not. Should I turn it into a an array check for indices? I’m a bit lost.

Checking for Digits Manually

How do I check digits of a given number manually?
For example,
I have the number 3189. I want to check the digits and determine whether they are even or not. Should I turn it into a an array check for indices? I’m a bit lost.