RIYAD3403

Untitled

Aug 18th, 2017
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<math.h>
  3. int main()
  4. {
  5. double a,b,c,d,e,f,g,h,i,j,result;
  6. scanf("%lf %lf %lf %lf %lf %lf %lf %lf %lf %lf",&a,&b,&c,&d,&e,&f,&g,&h,&i,&j);
  7. result = sqrt(a+b+c+d+e+f+g+h+i+j);
  8. printf("%.1lf",result);
  9. return 0;
  10. }
Add Comment
Please, Sign In to add comment