Question:C program for area of circle 

Answer 
#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);
  return 0;
}
 

+ Report
Total Preview: 451
C program for area of circle
Copyright © 2024. Powered by Intellect Software Ltd