This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<conio.h> | |
main ( ) | |
{ | |
int r; | |
float area; | |
printf ("Enter integer value for radius:"); | |
scanf ("%d", &r) ; | |
area = 3.14*r*r; //here the vakue of PI is 3.14 | |
printf("\n Area of circle =%f", area); |