Split an integer into digits

Program that separates a 5-number integer into digits.
No data validation allowed  as it's used in further chapters.