domanda da stupido....

si provato non funziona infatti

for (initialization; condition; increment) {
//statement(s);
}

The initialization happens first and exactly once. Each time through the loop, the condition is tested; if it’s true, the statement block, and the increment is executed, then the condition is tested again. When the condition becomes false, the loop ends.

la condizione di controllo deve essere vera perchè venga eseguito il blocco tra le graffe