# include # include float fran ( float a, float b, int *seed ); float my_sqrt ( float x ); int main ( ) { float e; int i; int seed; float x, y, z; seed = 123; for ( i = 0; i < 10; i++ ) { x = fran ( 0.0, 100.0, &seed ); y = sqrt ( x ); z = my_sqrt ( x ); e = fabs ( y - z ); printf ( " %f %f %f %g\n", x, y, z, e ); } return 0; }