int loop_while(int a, int b) { int i = 0; int result = a; while (i < 256) { result += a; a -= b; i += b; } return result; }