```
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<s.length();i++){
        char ch = s.charAt(i);
        while(ch!=' ')
            word+=ch;

        if(word.length()>max.length()){
            max=word; count++;
        }
        else count++;
    }System.out.println(max+" , "+count);
}
}

```

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?