I need to create an integer array with 10 elements, write a function that will have the user enter the data. The function will return nothing and has 2 parameters, the array and the size of the array.

You would do yourself a favour to attempt some coding yourself & then start a new thread to ask your question/s , rather than grave digging older threads[thread is 4 years old].

From the way your post reads it comes across as if you want someone to do it for you, sorry it don't work that way.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.