Count how many characters in word are vowels (either case), and print the count. This combines two things from
earlier in the course: walking a string until its null terminator (this lesson), and comparing a char against
several specific values (Module 1’s char-as-small-integer coverage) – there’s no shortcut around listing out
all ten possibilities (5 letters × 2 cases) explicitly.
Count Vowels
hardYour solution
"Run" uses the sample stdin ("hello"). "Submit" checks your code against all 4 test cases.
Test results
Submit your solution to run it against all test cases.