I don't think ity works well when you hit 1 the first time. The vowels counting is incorrect because you don't count them at all, you only print the number of vowels (count) of the first sentence....
Type: Posts; User: andreas90
I don't think ity works well when you hit 1 the first time. The vowels counting is incorrect because you don't count them at all, you only print the number of vowels (count) of the first sentence....
I'm not sure I understood your question.
If the user inputs another number the program will stop since it will keep looping only if the user enters 1.
Why don't you try it and see what will happen?
Hello Pettsa!
You can place your code inside a do...while loop (since you want it to execute at least once). You can then ask the user for an int like you do when you ask for a sentence, parse the...