how do i get digits of an int?

i want to input a 3 digit int and to be able to print every digit individually
Was this page helpful?