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);
}
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);
}
Area of a Circle in C Programming
#include<stdio.h>
int main()
{
double R, A;
scanf("%lf", &R);
A = 3.14159 * R * R;
printf("A=%.4lfn", A);
return 0;
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us