List all the Prime Numbers
#include<stdio.h> void main() { int n,i,j,flag; printf("\n\nEnter the limit\t:"); scanf("%d",&n); printf("\nTh…
#include<stdio.h> void main() { int n,i,j,flag; printf("\n\nEnter the limit\t:"); scanf("%d",&n); printf("\nTh…
#include <stdio.h> #include <math.h> void main() { float a,b,c,d,temp,r1,r2; printf("\nEnter the value of a\t:"); scanf(&quo…
#include<stdio.h> void main() { int n1,n2,g; printf("Enter Numbers (n1, n2) : "); scanf("%d %d",&n1,&n2); g=n1&…
#include<stdio.h> void main() { int t,i,m=0,n=1,f=1; printf("\n\nEnter the number of terms:"); scanf("%d",&t); prin…
#include<stdio.h> void main() { int i=1; do{ printf("%d\n",i); i++; }while(i=100); } Output Print D…
#include <stdio.h> void main() { int r; float pi=3.14; r=7; printf("Perimeter=%f",2*pi*r); } Output Print Downloa…
#include <stdio.h> void main() { char in; printf("Enter Character: "); scanf("%c", &in); if(in>=65&&…
#include<stdio.h> void main() { char chl='a'; char chu='A'; int i; printf("\n==========================="); for(…
#include<stdio.h> #define PI 3.142 void main() { float r,a,c; printf("\nEnter the radius of circle:\t"); scanf("%f",&…