Problem Description
Ram was a popular maths teacher, he gave a 4 digit number to his students as a assignment .He has to identify ones portion of given number. Please help his students to identify and display the output:
Input and Output Format:
Input can be an integer
Explanation :
Let us say ram given number is 1234 and his student need to identify ones portion is 4
No comments:
Post a Comment
Note: only a member of this blog may post a comment.