|
|
back to boardPo4emu vivoditsya oshibka Compilation error na yazike C Posted by Abdu 17 Dec 2010 22:39 #include <stdio.h> #include <math.h> int main() { freopen("input.txt", "r", stdin); int i=0; int k; double arr[100000]; float temp; while(scanf("%f", &temp)!=EOF){ arr[i]=temp; i++; } for(k=i-1; k>=0; k--) printf("%.4f\n", sqrt(arr[k])); return 0; } |
|
|