Advertisement
rahat62

Toph-আবুলের পিৎজা

Jan 30th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2. #include<math.h>
  3. #define PI 3.14159265358979323846
  4.  
  5. int main()
  6. {
  7.   double x1,d;
  8.  
  9.   int t,i;
  10.   scanf("%d",&t);
  11.  
  12.   for(i=1;i<=t;i++)
  13.   {
  14.  
  15.     scanf("%lf",&x1);
  16.     d=x1/PI;
  17.  
  18.     printf("Case %d: %.3lf\n",i,d);
  19.  
  20.   }
  21.  
  22.  
  23.     return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement