Answers for "program to calculate the area of circle\"

C
1

c program to find area of circle

#include <stdio.h>
#define PI 3.142
int main(){
    float R, A;
    printf("Enter the radius: \n");
    scanf("%f", &R);
    A = PI * R * R;
    printf("Area is: %f\n", A);
    
}
Posted by: Guest on April-19-2021

Code answers related to "program to calculate the area of circle\"

Code answers related to "C"

Browse Popular Code Answers by Language