Ask your own question, for FREE!
Computer Science 6 Online
OpenStudy (anonymous):

Programming in C++ Create a program with a function that ask 10 characters and place them in an array. The function would return the number of letter e’s there are and changes all letter ‘e’s to ‘i’’s:

OpenStudy (anonymous):

you know how to use arrays i guess.Then it's pretty easy, just do what the assignment says

OpenStudy (anonymous):

i dont know how to use it thats why im posting the problem here. :)

OpenStudy (anonymous):

arrays are one of the simplest data structures.There are just elements stored in consecutive memory space.you can declare arrays of any type in this way (in C/C++) type myArray[size] e.g(int array[25]).You can have access to the elements of the array in constant time by,simply writing within the brackets the index of the element you want to access e.g(printf("%d\n",myArray[15]); ) this would print the element 15+1 of the array declared above.Generally, elements start from 0 in arrays.

OpenStudy (anonymous):

can you make a code?

OpenStudy (anonymous):

no. I have no hands, plus this is your assignment, not mine.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!