Java Playground - Add the digits of a positive integer repeatedly until the result has a single digit.: Online Interpreter, Compiler & Editor | Sololearn

Add the digits of a positive integer repeatedly until the result has a single digit.

+3