Topic: Mathematics Problem / Level: advanced

Problem: Write a program to find the sum of the digits of a number until it is a single digit.

Run the code to see the output here...