Write a C program to print the fibonacci series.
#include<stdio.h> #include<conio.h> main() { int n,f1,f2,f3; printf("\n enter how many number"); scanf("%d",&n); f1=0; f2=1; printf("\n the fibonacci series = %d\t%d",f1,f2); do { f3=f1+f2; printf("\t%d",f3); f1=f2; f2=f3; n--; }while(n>2); getch(); }
OutPut:
Write a C- Program To Determine If The Given String Is A Palindrome Or Not.
Write a C program to find both the largest and smallest number in list of integers.
Write short notes on:
Draw the ER diagram of a hospital and explain.
Write a C program to find the GCD of two numbers.