1.3 - Lab 1

Complete the following program to output the ones and tens digits of the integer variable number in two separate lines.

Example 1

int number = 51;
Output should be

1
5

Example 2

int number = 623;
Output should be

3
2

Test your solution here
when it passes, copy it and submit it here so your coach can grade it.