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.
In reply to Re: Finding vowels
by ikegami
in thread Finding vowels
by paragkalra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |