see
A
hello world c program
division of two numbers c program
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a,b,c;
a=10;
b=20;
c=b%a;
printf ("%d",c);
getch();
}
#include<conio.h>
void main()
{
clrscr();
int a,b,c;
a=10;
b=20;
c=b%a;
printf ("%d",c);
getch();
}
circumference of circle
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
float pie,r,coc;
pie=3.14;
r=10; coc=2*pie*r;
printf("%f",coc);
getch();
}
#include<conio.h>
void main()
{
clrscr();
float pie,r,coc;
pie=3.14;
r=10; coc=2*pie*r;
printf("%f",coc);
getch();
}
area of rectangle c c p p programs
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int l,b,a;
l=10;
b=20;
a=l*b;
printf("%d",a);
getch();
}
#include<conio.h>
void main()
{
clrscr();
int l,b,a;
l=10;
b=20;
a=l*b;
printf("%d",a);
getch();
}
area of circle c program
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
float pie,r,aoc;
pie=3.14;
r=10;
aoc=pie*r*r;
printf("%d",aoc);
getch();
}
#include<conio.h>
void main()
{
clrscr();
float pie,r,aoc;
pie=3.14;
r=10;
aoc=pie*r*r;
printf("%d",aoc);
getch();
}
addition of two number c program
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,c;
a=10;
b=20;
c=a+b;
printf ("%d",c);
getch();
}
#include<conio.h>
void main()
{
int a,b,c;
a=10;
b=20;
c=a+b;
printf ("%d",c);
getch();
}
Subscribe to:
Posts (Atom)