Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c program to find area of circle

#include <stdio.h>
#define PI 3.142
int main(){
    float R, A;
    printf("Enter the radius: 
");
    scanf("%f", &R);
    A = PI * R * R;
    printf("Area is: %f
", A);
    
}
 
PREVIOUS NEXT
Tagged: #program #find #area #circle
ADD COMMENT
Topic
Name
7+8 =