Digital Root
Easy
Digit Problems
Repeatedly add the digits of a number until a single digit remains and print it.
Constraints
0 <= n <= 10^18
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.