Write a C program that prints the last digit of the number stored in a variable