Question: Write a program that reads a 5 X 5 array of characters and counts the frequency of vowels in it 20 alreade. (a) Row-wise, and


Write a program that reads a 5 X 5 array of characters and counts the frequency of vowels in it 20 alreade. (a) Row-wise, and (b) Column-wise For example: Consider the following array: A E KS F HUU B G E G KI I U I F A O A S I CHO 0 fenen 14 frequency is: Row 1: A=2; E=1; I=0;O=0; U=0; Row 2: A=0, E=0; I=0;O=0; U=2; Row 3: A=0; E=1; I=1;O=0; U=0; Row 4: A=0; E=1; 1=2; O=0; U=1; Row 5: A=1; E=0; I=1; O=2; U=0; Then, the column-wise frequency is: Col 1: A=1; E=0; I=1; O=0; U=0; Col 2: A=0; E=1; I=1; O=0; U=0; Col 3: A=1; E=1; I=1; O=0; U=1; Col 4: A=0; E=0; I=0; O=1; U=2; Col 5: A=1; E=1; I=1; O=1; U=0; [1 +1 +3 + 3 = 8 Mar
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
