Tux Education Our New Education Channel Please Share And Subscribe It...

/* Find Area Of Circle */



// Compiler : Dev-C++ 4.9.9.2

#include<stdio.h>
#define PI 3.141

int main()
{
    float r, a;
    printf("Radius: ");
    scanf("%f", &r);
    a = PI * r * r;
    printf("%f\n", a);
    
    getch();
    return 0;
}

Post a Comment