Question: Programming in C language to be run on code blocks on Windows 1. (Single-dimension Array) Write a program that will create an integer array with

Programming in C language to be run on code blocks on Windows
1. (Single-dimension Array) Write a program that will create an integer array with 1000 entries. After creating the array, initialize all of the values in the array to 0. Next, using the rand function, loop through the array and save a random number between 1 and 10 (inclusive) in each entry of the array. Once you have complete this, print out the following and then end the program a. The sum of all of the numbers b. The average of all the numbers c. The number of times each number (1-10) occurred (hint: there are several ways to this step; and you're perfectly allowed to create a second array for this part if it helps)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
