C Program 16: To Print The Fibonacci Series Using Recursion
Aim: To print fibonacci series Fibonacci series is the one in which every third number is the sum of first two. The series is 1,1,3,4,7,1......
11 Years Ago
C Program 15: To Find the Factorial of a number using for loop
Aim: To find factorial of a number Factorial of a number like 4 would be 4*3*2*1=24 Following would be the code: // To find the factoria......
11 Years Ago
C Program 14: To Find The Factorial of a Number Using Recursion
Aim: To find the factorial using recursion. What is Recursion? when a function calls itself, the phenomenon is referred to as recursion an......
11 Years Ago
C Program 13: To Swap Two Numbers Using Pointers
Aim: Swap two numbers using pointers. Following is the code: //To swap two numbers using pointers #include #include ......
11 Years Ago
C Program 12: To Print The Given Rectangle Pattern
Aim: To print this pattern *-*********** ***-********* *****-******* *******-***** *********-*** ***********-* Code: ......
11 Years Ago
C Program 11: To Print a Right Angled Triangle
Aim: Â To print this pattern * ** *** **** ***** Code: #include #include void main() { Â Â Â int i, j, n; Â Â Â ......
11 Years Ago