Answered step by step
Verified Expert Solution
Link Copied!

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
image text in transcribed
image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Administration

Authors: Peter Carter

1st Edition

1484207106, 9781484207109

More Books

Students also viewed these Databases questions

Question

4. Why is job analysis the foundation of many other HR activities?

Answered: 1 week ago

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago