I would do it the following way : 1. Create a char array comprising of the vowel letters. 2. Run a While loop searching within the string from position 0 and looping each time you find a vowel, this time starting with the position at which find was successful.
Happy Homework-ing !! On Dec 18, 8:56 am, DotnetBeginner <[email protected]> wrote: > I am trying to return num of vowels present in a string using c#. I am > not getting that. Can any body have any ideas > > Appreciated.
