Question: In the main function, seed an array with the first 6 letters of your name (if your name is too short, fill the remaining characters
In the main function, seed an array with the first 6 letters of your name (if your name is too short, fill the remaining characters with U). Then make a char function that takes this array and array size in as an input. Check for vowels (including y) and put those vowels into an array that has 6 spaces. The vowel placements in the new array should match the placement in the name and Z in non-vowel places. Then, return the first vowel in the new array to the main function and output it in the main function (I recommend a switch for this part). Strings are banned in this problem!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
