Skip to content
Advertisement

Tag: nested-for-loop

Adding string after each vowel

I am currently on a project to develop a small, fun program that takes a name as an input and returns the name with the string “bi” after each vowel in the name. I am encountering the problem that my program runs in an infinite loop when I have a name that has same the same vowel twice, for example:

Advertisement