Return to List## Solve: Sum Limit

### Related Lessons

Given 2 non-negative `int`

s, return their sum, so long as the sum has the same number of digits as the first `int`

.
If the sum has more digits, just return the value of first `int`

.
You may want to convert the `int`

values to `String`

s to determine their length.

int sumLimit(int first, int second) {

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

}

Stuck? You may find these lessons helpful: