total = 10 counter = 0 do { //Since there's no `counter++;` in the do{..}, counter would always remain 0, // so the first loop would look like while( 0 >= 10) // then the second would look like while(0 >= 10) // causing a infinte loop, so the program doesn't terminate } while(counter >= total); // Condition