Program to Find Area of Circle in C

#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
#define pi 3.14

using namespace std;

int main()
{
    int r;
    float area;
    system("cls");
    printf("Enter Your Radius :: ");
    scanf("%d",&r);
    area=pi*r*r;
    printf("Area of Circle is %f",area);
    getch();
    return 0;
}

Output :: 



You Can Download This Program From Here

Download Executable From Here

Comments

Popular Posts