Write menu driven program to implement recursive Functions for following tasks. a) To find GCD and LCM b) To print n Fibonacci numbers c) To find reverse of number d) To solve 1 +2+3+4+........+(n- l )+n (using java) mention the code
Answers
Answered by
10
The task is to print the formula to find the GCD of n integer ... Below is implementation of the above approach: C ... return "gcd(int, " + recursiveFun (n - 1) + ")" ;.
Answered by
0
Answer:
Explanation:
The task is to print the formula to find the GCD of n integer ... Below is implementation of the above approach: C ... return "gcd(int, " + recursiveFun (n - 1) + ")" ;.
Similar questions