user60954
1
Q:

find last digit of number

//C++
int last_digit = number % 10;
0

New to Communities?

Join the community