+ 7
How to find a no.'s last digit ?
25th Apr 2018, 4:41 PM
Prabhat

3 Answers
+ 9
x % 10 gives you the last digit of x. (Pronounced "x modulo ten")
25th Apr 2018, 4:46 PM
Schindlabua

+ 7
thnks friends !!
27th Apr 2018, 7:30 AM
Prabhat

Often have questions like this?
Learn more efficiently, for free:
Hot today
Solving coding challenges
2 Votes
I am new
1 Votes
Advertising in Sololearn
1 Votes
RUST'S FUTURE
1 Votes
Programming Language
0 Votes