does anyone have good example of while loop , for loopsgenerateing random numbers between 1 and 10.
while( myBoolean == false ){//do something//should include a possibility where myBoolean gets set to true}for( i=0; i<10; i++) {//do something}