Program to printing fibonacci series for first n terms

Program to printing fibonacci series for first n terms

#include<stdio.h> #include<conio.h> void main() { int n,i; long f0=0,f1=1,f2; clrscr(); printf("n enter nn"); scanf("%d", &n); printf("n Fibonacci series up to %d terms n", n); for(i=1;...
Program to finding factorial of a number

Program to finding factorial of a number

#include<stdio.h> #include<conio.h> void main() { int n,i; double f=1; clrscr(); printf("n Enter nn"); scanf("%d", &n); for(i=1;i<=n;++i) f=f*i; ...
Program to finding sum of 1/2+2/3+3/4+.............n/n+1

Program to finding sum of 1/2+2/3+3/4+………….n/n+1

#include<stdio.h> #include<conio.h> void main() { int n,i; float s=0; /* s for sum which is a float value as division occurs */ clrscr(); printf("n Enter nn"); ...
Program to finding sum of 1 to n

Program to finding sum of 1 to n

#include<stdio.h> #include<conio.h> void main() { int n,i; long s=0; /* n for given number, s for sum */ clrscr(); printf("n Enter n n"); ...
Program to print multiplication table for any given number

Program to print multiplication table for any given number

#include<stdio.h> #include<conio.h> void main() { int i,n; /* i for loop counter, n for given number for which, we have print ...
Program to print all even numbers from m to n using for loop

Program to print all even numbers from m to n using for loop

#include<stdio.h> #include<conio.h> void main() { int i, n, m; /* i for loop counter, m is lower limit, n for upper limit */ clrscr(); printf("n...
Program to print all odd numbers from m to n using for loop

Program to print all odd numbers from m to n using for loop

#include<stdio.h> #include<conio.h> void main() { int i,n,m; /* i for loop counter, m is lower limit, n for upper limit */ clrscr(); printf("n...
Program to print all numbers from m to n using for loop

Program to print all numbers from m to n using for loop

#include<stdio.h> #include<conio.h> void main() { int i,n,m; /* i for loop counter, m is lower limit, n for lower limit */ clrscr(); printf("n Enter lower limit...
program to print 1 to n numbers using for loop

Program to print 1 to n numbers using for loop

#include<stdio.h> #include<conio.h> void main() { int i,n; /* i for loop counter, n for the extreme boundary */ clrscr(); printf("n Enter the upper limitn"); scanf("%d",&n); printf("n...

Stay connected

18,538FansLike
1,952FollowersFollow
14,700SubscribersSubscribe
- Advertisement -

Latest article

Python-punctuatorts

punctuatorts

Punctuatorts क्या होते हैं? punctuatorts वे symbol हैं जो प्रोग्रामिंग भाषाओं में वाक्य संरचनाओं को व्यवस्थित करने के लिए उपयोग किए जाते हैं, और भावों,...
Python-Identifiers

Python Identifiers

Identifier क्या है? Identifier एक नाम होता है जिसमें कुछ Name, letters, special character (केवल _ underscore) का use होता है Identifier का use...
Python tokens

Tokens

टोकन क्या है? किसी भी passage में कोई भी text कोई single word या punctuation  mark  टोकन कहलाते  हैँ | ठीक उसी प्रकार एक Python...