|
|
вернуться в форумhelp why is wrong #include<iostream> #include <stdio.h> using namespace std; int main(){ freopen("in.txt", "r", stdin); int i = 0; double mas[9310]; cin >> mas[i]; while(mas[i]>=0) { i++; cin >> mas[i]; } for(int k = i-1; k>=0; k--) printf("%.4lf\n",sqrt(mas[k])); } Re: help why is wrong Послано Margar 20 май 2012 22:36 #include <math.h> |
|
|