title: BufferedReader not taking input even after pressing enter
body: <pre><code>public static void main (String Args[]) throws IOException{
  
      BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
      System.out.println("Enter String");
      String s = br.readLine();
      s=s+" ";
      s.toLowerCase();
      String word="";
      String max="";
      int count=0;
  
      for(int i=0; i&lt;s.length();i++){
          char ch = s.charAt(i);
          while(ch!=' ')
              word+=ch;
  
          if(word.length()&gt;max.length()){
              max=word; count++;
          }
          else count++;
      }System.out.println(max+" , "+count);
  }
  }
  </code></pre>
  
  <p>I want to find the biggest word in the string without using split or anything like that and also count how many words are present in the sentence.
  When I input anything and press enter nothing happens. What is the problem?</p>