Topic: Mathematics Problem / Level: intermediate

Problem: Create a program to calculate the sum of digits of a number until a single digit is obtained.

Run the code to see the output here...