what would be the formula in getting the Hundredth's place, tenth's place, and one's place of a 3 digit integer??

123 % 10 is 3.
123 % 100 is 23
23 / 10 is 2.
123 / 100 is 1.

Extrapolate an algorithm from that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.