Java: Single Digit Summation of given numbers

The following GIST contains Java code that keeps summing up given numbers, their sums until the sum turns into a single digit amount.

For example:

10 + 10 + 10 = 30. >> 3 + 0 = 3. <- Single Digit

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.