Extracting
Digits
Create a program that extracts the rightmost
digit of a number.
Input: In the
first line you will get a positive integer number.
Output : The last
digit of the number.
Sample Input1:
|
Sample Input2:
|
567
|
300
|
Sample Output1:
|
Sample Output2:
|
7
|
0
|
Для отправки решений необходимо