Saturday, March 1, 2014

To find the sum of the number entered using recursive function

In this page I have written the program to find the sum of the number entered using function. Lets take an example to be clear how the program works.
For example if the user enters 478 then the result will be printed 19 as 8+7+4 =19. The main source code has been written below:

No comments:

Post a Comment