#include<stdio.h>
#include<conio.h>
void main()
{
float a,r;
clrscr();
printf("enter the value of radius");
scanf("%f",&r);
a=3.14*r*r;
printf("the result is %f",a);
getch();
}
#include<conio.h>
void main()
{
float a,r;
clrscr();
printf("enter the value of radius");
scanf("%f",&r);
a=3.14*r*r;
printf("the result is %f",a);
getch();
}
0 comments: (+add yours?)
Post a Comment