Read a line of text and count how many vowels (a, e, i, o, u — either case) it contains.
Input / Output
Input: a single line of text (may contain spaces). Output: the number of vowels.
Examples
Input
Hello World
Expected Output
3
Input
Programming
Expected Output
3
+ 2 hidden tests checked on Submit.
Main.java is the entry point. Add extra classes for OOP exercises — they compile together.
Run your code to see test results here.