Which method will return the last digit of a parameter if the parameter is an integer? It should work for negative numbers as well. For example, lastDigit(3572) would return 2 and lastDigit(-947) would return 7
Answers
Answered by
4
Answer:
sorry Don't know the answer
Similar questions