int var;
count = 10;
while (count > 0) {
    count = count - 1;
}