in reply to Finding vowels

If you wanted to use a regexp match, you could use a character class instead of your three nested loops.

[ Code not provided as this sounds like homework ]

By the way, it makes no sense to hardcode 5 instead of using the length of the array.

Replies are listed 'Best First'.
Re^2: Finding vowels
by AnomalousMonk (Archbishop) on Mar 20, 2009 at 03:18 UTC