| 
 | 
back to boardWhat's wrong with my code? Posted by  newfish 18 Dec 2013 14:29 #include <stdio.h> #include <math.h>   int main(void) {     int i = 0;     unsigned long long a;     double b[1024];       while (EOF != scanf("%Ld", &a))     {         b[i++] = sqrt(a);     }       while (i--)         printf("%.4f\n", b[i]);       return 0; } Re: What's wrong with my code?     Edited by author 22.12.2013 21:56  |  
  | 
|