/* --------------------------------------------- for文 START、END 指定 --------------------------------------------- */ #include main() { int i; int start,end,step; printf("START--->"); scanf("%d",&start); printf("END  --->"); scanf("%d",&end); printf("STEP --->"); scanf("%d",&step); for ( i=start ; i<=end ; i+=step ) { printf("%5d",i); } }