Question: C program For this programming assignment, you will declare a 2 D array of characters, 4 0 rows by 8 0 characters, to store strings
C program
For this programming assignment, you will declare a D array of characters, rows by characters, to store strings supplied by the user from stdin.
You will create and use functions that pass the D array from main, load the array with input, and finally analyze the array for the
following: wordcount and number of vowels aeiou You must pay attention to the case of the characters in the strings.
The user should enter in sentences until either they have entered more than or the user has signaled they wish to stop using
EOFctrlD
RubricRequirements:
The program must use a D array. pts
The program must read in strings from stdin limited to characters in length. This must be done from a user function that passes the array from the caller. pts
The program must use at least user function that analyzes the array to count the number of words and the number of vowels. The counts can be returned via a return value or by using pointers. A word is any string or character followed by a space or newline character. pts
The program must be neat and use proper naming as well as all structured programming practices commenting etc. pts
The program must stop reading input when either the user signals to stop or if the array is full. pts
All requirements are subject to partial value and represent the total value for that requirement.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
