Advertisement
tasnimislam1999

Untitled

Mar 13th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #include<stdio.h>
  2. #include<math.h>
  3.  
  4. int main()
  5. {
  6. int a[33000];
  7. double b[33000];
  8. int i,n;
  9. n=sizeof(a);
  10.  
  11. for(i=0;i<=n;i++)
  12. {
  13. scanf("%d",&a[i]);
  14. b[i]=sqrt(a[i]);
  15. }
  16.  
  17. for(i=n;i>=0;i--)
  18. {
  19. printf("%lf\n",b[i]);
  20. }
  21.  
  22. return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement