#include #include #include #include #define SIZE 30 int main(){ char pol[SIZE]; memset(pol,' ',SIZE); pol[SIZE]='\0'; int ch=0; for(int idx=0;1;idx++ ){ ch=getchar(); if(ch==EOF||ch==' ')break; pol[idx]=ch; } printf("%s\n",pol); int koef=0; for(int i=0;i0;idx--)p*=x; num+=p*n; } //num=34.577; num=round(num*100)/100; printf("%.2f\n", num); return EXIT_SUCCESS; }