Guest User

Untitled

a guest
Dec 7th, 2011
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   int noOfWords = 0;
  2.   String [] input = new String[100];
  3.   while(!Console.endOfFile())
  4.   {
  5.     input[noOfWords] = Console.readToken();
  6.     noOfWords++;
  7.   } // while
  8.  
  9.   for (int index = 0; index < noOfWords; index++)
  10.     System.out.println((String) hashmap.get(input[index]) + " ");
  11.  
  12.  
Advertisement
Add Comment
Please, Sign In to add comment