Διαφάνεια PPT
printf("Enter values for a,b,c,d,e,f : ");
if ( scanf("%f %f %f %f %f %f", &a, &b, &c, &d, &e, &f) !=6 )
printf("Error. Expecting six numbers ...\n");
for ( x= -50.0 ; x <= 50.0 ; x += 0.50 )
y = a*x*x*x*x*x + b*x*x*x*x + c*x*x*x + d*x*x + e*x +f;
printf(" %+15.5f %+15.5f\n", x, y);