Question: Write a C program to complete the project. The main function should provide a menu to the user for the 4 options below and ask

Write a C program to complete the project. The main function should provide a menu to the user for the 4options below and ask for user input as to what they would like to do.Depending on the user input, the corresponding function will be executed.
Given an array of 100random numbers in the range 1...999,write a function for each of the following processes. In building the array, if the random number is evenly divided by 3or 7,store it as a negative number.
1.Print the array ten values to a line. Make sure that the values are aligned in rows.
2.Print the odd values, ten to a line.
3. Return the sum of all values in the array.
4.Return the location of the smallest value in the array

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!