- 2

Bool function as a parameter.

If we have a problem when we want to remove all vowels in string. One of the function we have to write is bool function where we use switch to defined which letters are vowels. Then we use bool function in another function in which we remove all vowels. And now there is a trouble where I am stoped because I don't know how to connect these two functions together. Please can anybody write this code so I finally get it. https://code.sololearn.com/c25OKX843DA8/?ref=app

11th Dec 2020, 3:47 AM
TeaserCode
2 Respostas
+ 2
maybe: if (isVowel(i)) // remove i <— vowel
11th Dec 2020, 4:19 AM
Flash
+ 1
TeaserCode Noone is here to write code for you. If you show some efforts then we can help.
11th Dec 2020, 3:54 AM
A͢J
A͢J - avatar