Friday, February 28, 2014

To find the total sum upto the entered number using recursive function

In this program I have used the recursive function to find the total sum upto which the number user enters. For example if  the user enters 10.
The sum will be displayed 55.
10+9+8+7+6+5+4+3+2+1=55
The main source code of the program is given below:

No comments:

Post a Comment