Friday, 6 May 2016

CSE Batch 2 Coaching- Programs on Recursion and array


At least try to do questions 1,2,4,7 and 9.

1.        WAP to find HCF using recursion.
2.         WAP to find out power of a number using recursion.
3.         WAP to convert Decimal number into binary (Hint: Use array).
4.         WAP to compute nCr (Hint: Use Function).
5.         WAP to insert element in an array.
6.         WAP to delete an element from array.
7.         WAP to permanently modify elements of an array. Modified value of each element should be 10 more than the original.
8.         WAP to check whether a number is palindrome or not (Hint: Use array).
9.         WAP to print Fibonacci series without recursion.
10.     WAP to find maximum and minimum element in an integer array.


No comments:

Post a Comment