/* 0 から1 まで 0.01 間隔の実数列を生成する。 */ #include int main(void) { float x; for (x=0; x<=1; x+=0.01) printf(" x = % g\n", x); return 0; }