Write a C++ program for Finding sum of digits of a number until sum becomes single digit.
Answers
Answered by
0
Answer:
1.Initialize a number.
2.Initialize the sum to 0.
3.Iterate until the sum is less than 9. Add each digit of the number to the sum using modulo operator.
4.Print the sum.
Similar questions
English,
1 month ago
Math,
1 month ago
Math,
2 months ago
World Languages,
10 months ago
Biology,
10 months ago