Question: C Programming 1. Create an array of 100 random numbers in the range of 1-999, write a function for each of the following processes. In

C Programming

1. Create an array of 100 random numbers in the range of 1-999, write a function for each of the following processes. In building the array, if 3 or 7 evenly divide the random number, store it as a negative number. Return a count of the number of even values Return the sum of all values in the array

2. Create a two dimensional array (size 10 X 10). Fill this two dimensional array with the values from the above single dimensional array. Determine the maximum value in each row. Display the two-dimensional array and the maximum of each row.

3. Repeat number 2 above but this time instead of 10 X 10 array, prompt the user for the size of the row and column, allow user to fill in the values and display the array.(Hint: Use pointers and dynamic memory allocation )

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!