Question: 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

 Q2: Computing Vowels [3 marks] Write a program that defines an

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

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 Databases Questions!