# include int main ( void ) { // // READ_WORDS reads words one at a time from the user or an input file, // and prints them. // // This program assumes that no word will ever be longer than 80 characters. // // A word is any consecutive string of characters terminated by a blank, // a new line, or other "white space" such as a TAB. // // If the user is doing the input, then type CTRL-D to terminate. // int status; char w[81]; while ( 1 ) { status = scanf ( "%s", w ); if ( status <= 0 ) { break; } printf ( "\"%s\"\n", w ); } return 0; }