do { //something to do //incrementation } while(//your statement); //will do what you ask untill the statement is false