Last two digits. Given an integer number, print its last two digits.
Input |
Output |
179 |
79 |
40 |
40 |
3 |
3 |
1009 |
9 |
123 |
23 |
222 |
22 |
Python, Java
Last two digits. Given an integer number, print its last two digits.
Input |
Output |
179 |
79 |
40 |
40 |
3 |
3 |
1009 |
9 |
123 |
23 |
222 |
22 |