Computer Science, asked by Anonymous, 5 months ago

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)

Answers

Answered by keyboardavro
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