Answers for "is vowel c++"

C++
0

is vowel c++

// c is a char
auto isLowercaseVowel = (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u');
auto isUppercaseVowel = (c == 'A' || c == 'E' || c == 'I' || c == 'O' || c == 'U');
Posted by: Guest on September-14-2020

Browse Popular Code Answers by Language