Question: by c program Q2: Computing Vowels [3 marks] Write a program that defines an array of 7 characters (string). You need to prompt the user
![by c program Q2: Computing Vowels [3 marks] Write a program that](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3cdd18cf44_96966f3cdd126142.jpg)
Q2: Computing Vowels [3 marks] Write a program that defines an array of 7 characters (string). You need to prompt the user to read the string entered then compute how many vowels in that string. You should use switch statement to solve this question Example: if the user inputs: hello the number of vowels is 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
