fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int radius,area;
  5. printf("Enter the radius of the circle:\n");
  6. scanf("%d",&radius);
  7. area=3.14*radius*radius;
  8. printf("The area of the circle=%d\n",area);
  9. return 0;
  10. }
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
Enter the radius of the circle:The area of the circle=-2147483648