Problem

Return String.valueOf last digit of n.

Examples

  • lastDigitString(456) -> "6"
Compile and test (Ctrl+Enter)