|
|
back to board[C] Why wrong answer if the program shows the right solution? #include<stdio.h> #include<math.h> int main(){
float i=0,racuad[61]; int a=1,b=1;
while(i<=pow(10,18)){ racuad[a]=sqrt(i); a++; i=1+i*7843; } for(b=a-2;b>=0;b--){ printf("%.4f\n",racuad[b+1]); }
return 0; } |
|
|