I have Write a c++ program to allow the user to divide an array of 100 different random numbers between 3&90 into two arrays, one for the odd numbers and one for the even numbers. Then for each of the new arrays, find the average of those numbers.
Use a function for dividing the array and another function for the calculation of average.
if anyone can help plz reply with some code and if anyone needs help just ask

post the code you have written. Start very simply and do the requirements one at a time.

Step 1: For example, "Write a c++ program". Well, here it is

int main()
{
    // code goes here

}

Step 2: Next you need to create an int array that takes 100 numbers.

Step 3: Then fill it with random numbers between 3 and 90.

That should give you a good start on the program.

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.