pages

Monday, May 4, 2020

C prog area_circle


// C program to find area of circle

 
#include <stdio.h>
#include <conio.h> 

#define PI 3.142 
  
double findArea(int r) 
   return PI *r*r; 
  
void main()
    printf("Area is %f", findArea(5)); 
    getch(); 

No comments:

Post a Comment