Write a function that returns the remainder when a number is divided by 10, without using %, /, *, or subtraction ?
Login to Submit
Input: 99 Output: 9 Input: 165 Output: 5 Input: 28 Output: 8