->Hello, my program is to get user input and print their sentence into a non vowel sentence while showing the number of vowel in their sentence. It should keep asking the user for sentence until they decide to quit by inputting "-".
->My problem with this program is that I am not able to do a loop to repeat the process from the beginning for the user to input another sentence. Also, I am not sure how to write the complete non-vowel sentence. Lastly, I am not able to get the program to stop with "--"
->I've tried putting a while-loop in front of the inner loop of the For-statement but it didn't work. And, I though of making a new string that will hold all the non vowel and output it on the screen but I fail to do so. Any hints will be greatly appreciate, thank you for the help in advance.
Wow thanks a lot, you are amazing. I was trying to debug it so hard but I only had to move a few code to fix it. Once again, thanks a bunch for the clear explanation was very helpful!
I am currently going to school for programming, up until now, I am self taught.
I hope that you don't mind, but I was playing around with your code. Here is what i come up with. I learn by actually playing around with code and changing things to see what effect it has.
No worries, I really do mind if you use my code. I'll be more than happy to let you experiment with it. Also, it is quite interesting how you changed into a switch statement which make the readability much better and shorter.