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)

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!