Answered step by step
Verified Expert Solution
Question
1 Approved Answer
in ansci c code Create a function called myName. Using the for loop, if, else if, else, 11,&&, printf, and any other command you want
in ansci c code
Create a function called myName. Using the for loop, if, else if, else, 11,&&, printf, and any other command you want that we have learned in class, a) Examine each character of your name and determine if it is: a space, a vowel (a,e,i, ,u,A,E,I,0,U), a consonant ( b,w,g, etc), the symbol % or the symbol $, and using the current value of x in your for loop pi nt: character [x] located at position x is a consonant or character [x] located at position x is a vowel or character [x] located at position x is a space or character [x] located at position x is a symbol example: My name is [George $ Washington % Rodriguez] character [G] located at position is a consonant character [e] located at position 1 is a vowel character [0] located at position 2 is a vowel character [r] located at position 3 is a consonant character [g] located at position 4 is a consonant character [e] located at position 5 is a vowel character [] located at position 6 is a space character [\$] located at position 7 is a symbol character [ ] located at position 8 is a space character [W] located at position 9 is a consonant character [a] located at position 10 is a vowel character [s] located at position 11 is a consonant character [h] located at position 12 is a consonant character [i] located at position 13 is a vowel character [n] located at position 14 is a consonant character [g] located at position 15 is a consonant character [t] located at position 16 is a consonant character [0] located at position 17 is a vowel character [n] located at position 18 is a consonant character [] located at position 19 is a space character [\%] located at position 20 is a symbol character [ ] located at position 21 is a space character [R] located ot position 22 is a consonant character [0] located at position 23 is a vovel character [d] located ot position 24 is a consonant character [r] located at position 25 is a consonant character [i] located at position 26 is a vowel character [8] located at position 27 is a consonant character [u] located at position 28 is o volie1 example: My name is [George $ Washington % Rodriguez] character [G] located at position is a consonant character [e] located at position 1 is a vowel character [o] located at position 2 is a vowel character [r] located at position 3 is a consonant character [g] located at position 4 is a consonant character [e] located at position 5 is a vowel character [ ] located at position 6 is a space character [\$] located at position 7 is a symbol character [ ] located at position 8 is a space character [W] located at position 9 is a consonant character [a] located at position 10 is a vowel character [s] located at position 11 is a consonant character [h] located at position 12 is a consonant character [i] located at position 13 is a vowel character [n] located at position 14 is a consonant character [g] located at position 15 is a consonant character [t] located at position 16 is a consonant character [0] located at position 17 is a vowel character [n] located at position 18 is a consonant character [] located at position 19 is a space character [\%] located at position 20 is a symbol character [ ] located at position 21 is a space character [R] located at position 22 is a consonant character [0] located at position 23 is a vowel character [d] located at position 24 is a consonant character [r] located at position 25 is a consonant character [i] located at position 26 is a vowel character [g] located at position 27 is a consonant character [4] located at position 28 is a vowel character [e] located at position 29 is a vowel character [z] located at position 30 is a consonant character [ ] located at position 31 is a space Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started