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