// Purpose: Display the length of a user-specified word	
	
import java.io.*;	
	
public class WordLength {	
	
	// main(): application entry point	
	public static void main(String[] args) throws IOException {	
		// set input stream	
		BufferedReader stdin = new BufferedReader(	
			new InputStreamReader(System.in));	
	
		// get desired word	
		System.out.print("Enter a word: ");	
		String word = stdin.readLine();	
			
		// compute length of word	
		int wordLength = word.length();	
			
		// display result	
		System.out.println("Word " + word + " has length "	
			+ wordLength + ".");	
	}	
}	

