ulvis.paste.net

Paste Search Dynamic
Recent pastes
The area of circle is
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5.         double pi = 3.141592l;
  6.         int r;
  7.         double area;
  8.  
  9.         scanf("%d", &r);
  10.  
  11.         area = (double) pi * r * r;
  12.  
  13.         printf ("The area of circle is %lf", area);
  14.  
  15.         return 0;
  16. }
Parsed in 0.002 seconds