14
7y

while ( true ) {
if ( !cond() )
break;
foo( bar() );
}

Comments
  • 2
    Yeah that's overly complicated -- looks like just:
    while(cond()) { foo(bar()); }
    would do?
Add Comment