Showing posts with label recursive function. Show all posts
Showing posts with label recursive function. Show all posts

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.

Wednesday, February 26, 2014

To find the hcf between two numbers using recursion function


In this program I have given the concept of finding the hcf between two numbers using function.
The highest common factor of integers x and y is the largest integer that evenly divides both x and y.
The main points to be remember while doing this program is: