Expand number ranges by smkt

main(a,b){float c,d;while(~scanf("%d %d %f",&a,&b,&c)){for(d=a+c;d<b-c/2;d+=c)printf(d>(int)d?"%0.1f ":"%0.0f ",d);puts("");}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page