fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. float area,r;
  5. printf("enter radius of circle");
  6. scanf("%f",&r);
  7. area=3.14*r*r;
  8. printf("area of circle=%F",area);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
enter radius of circlearea of circle=0.000000