Question: 3. Write a program that receives two alphabet letters and count the number of vowels (a, e, i, o, and u) between them. Enter
3. Write a program that receives two alphabet letters and count the number of vowels (a, e, i, o, and u) between them. Enter the first letter: u Enter the second letter: E Number of vowels: 3 Assume that the user may enter both upper-case and lower-case letters. The alphabet letters are ordered from 'A' to 'Z' and from 'a' to 'z'. 'Z' is followed by the letters from 'a' to 'z'. And, 'z' is followed by the letters from 'A' to 'Z'.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
