Pass a string as parameter. Find out how many vowels present in it

Test cases:

Test cases Expected Result
countVowels(instanceif is for references only) 11 OK
countVowels(Object Oriented) 6 OK
countVowels(Design Patterns) 4 OK

Java solution:

Javascript solution:


About the author

Bushan Sirgur

Well, I am Bushan Sirgur from Banglore, India. Currently, I am working as a Software Developer in a Service Base Company. I am interested in JAVA/J2EE, Angular 2, JavaScript, jQuery, MongoDB.

View all posts

Leave a Reply

Your email address will not be published. Required fields are marked *