I've made this console program as a small start for an up comming text based AI, in this code, I'm trying to find the sentence that the user inputs, and then display a message from that input.
My problem here is that, if i type in "Hello" as the first word and press enter, it works as i should, but if i type in "Hi" as the first word, nothing happens... If i then try to type in "Hi" as the second input,...