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