#C14470. Count the Number of Vowels
Count the Number of Vowels
Count the Number of Vowels
In this problem, you are given a string and your task is to count the number of vowels in it. The vowels considered are (a, e, i, o, u) and their uppercase counterparts (A, E, I, O, U). Your solution should read the input string from standard input and output the result in the format: Number of vowels: X
, where X
is the count of vowels in the string.
inputFormat
The input consists of a single line containing a string. The string may include spaces and punctuation.
outputFormat
Output a single line in the following format: Number of vowels: X
, where X
is the total number of vowels in the input string.## sample
bcdfg
Number of vowels: 0