void Loopus2011_ex3(int x, int b){ while (0 < x && x < 255){ if (b) x = x + 1; else x = x - 1; } }