Answers for "write a c program to find area of a circle using macro"

C
0

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: %fn", A);
    
}
Posted by: Guest on April-19-2021

Code answers related to "write a c program to find area of a circle using macro"

Code answers related to "C"

Browse Popular Code Answers by Language