do { text += "The number is " + i; i++; } while (i < 10);
while (i < 10) { text += "The number is " + i; i++; }
while(condition) { //whatever }