#include main() { int w=5; int x; for (x = -10; x < 11; x++) printf("%f\n", (float)(((((x)*(-1)/w)+1)*w+x)%w)); }