char c; while ( true ) { c = read(); if ( c < ' ' ) break; print( c ); } println( "" );