Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include<math.h>
- #define PI 3.14159265358979323846
- int main()
- {
- double x1,d;
- int t,i;
- scanf("%d",&t);
- for(i=1;i<=t;i++)
- {
- scanf("%lf",&x1);
- d=x1/PI;
- printf("Case %d: %.3lf\n",i,d);
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement