Computer Science, asked by rg952892, 11 months ago

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 shrey306
4

Answer:

sorry Don't know the answer

Similar questions