about | help | code help+videos | done | prefs |
Write a method that has two string input parameters. Return true if they have the same number of vowels. Return false otherwise. Note that the strings can be any length and may have no vowels, all vowels, or any combination of vowels, consonants, and other symbols. sameNumVowels("this is a test", "of your way cool code") → false sameNumVowels("aeiouaeiouaeiou", "eeeexxxxxxxxxxxxxklwmmmmmm") → false sameNumVowels("when you lose", "the game") → false ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 440
Copyright Nick Parlante 2017 - privacy