#C7591. Count Vowels in a String
Count Vowels in a String
Count Vowels in a String
Given a string, count the number of vowels in it. Vowels are defined as \(a, e, i, o, u\) and can be either in lowercase or uppercase. Your task is to read an input string from standard input, compute the total number of vowels, and output the count to standard output.
For example, for the input "Hello, World!", the output should be 3 because the vowels are e, o, and o.
inputFormat
A single line containing the input string. The string may include spaces and special characters.
outputFormat
An integer on a single line representing the number of vowels in the input string.## sample
Hello, World!
3
</p>