So I'm trying to write a program that counts the number of syllables, words, and sentences in a txt.file or any given input using boolean functions. I'm stuck on why the boolean functions wont work even if they have already been declared
There is just a warning there because if none of your if/else if statements are true the function wont return anything. You can add some sort of default return statement at the end of the function but if it will always pass one of them it isn't anything to get too worried over.