Return to List## Solve: Two Last Digit

### Related Lessons

Given two non-negative `int`

values, return `true`

if they have the same last digit, such as with 27 and 57.
Note that the % operator computes remainders, so 17 % 10 is 7.

boolean lastDigit(int first, int second) {

return false; // You may need to remove this starter code

}

Stuck? You may find these lessons helpful: