Search found 1 match

by sabbir25112
Thu Oct 30, 2014 2:22 pm
Forum: Volume 125 (12500-12599)
Topic: 12578 - 10:6:2
Replies: 16
Views: 2427

12578 10:6:2

What's the problem with my code.?? why it's not accepted. anyone can help plz. #include<stdio.h> #include<math.h> #define PI acos(-1) int main() { int test,i; float l,w,r; while(scanf("%d",&test)==1) { for(i=1;i<=test;i++) { scanf("%f",&l); w = 0.6*l; r = l/5; printf("%.2f %.2f\n",PI*r*r,(l*w)-(PI*r...

Go to advanced search