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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started