What is the sum of 3 digits without using loop?

To find : Sum of three digit number without using loop in the program… Following is the C+±code to find the sum of three digit number, this can be one of the way of finding the sum without using loop. i.e., 3+2+1 = 6. What if i told you you can print sum of n number of digits of a number without using loop unless it is in the range of int.
For More Information Please Refer:
You May Also Like to Read: