Question: In C please. Not C++ or Java. Please use a constant! Thanks! DESCRIPTION Write a program that: Creates a 1-dimensional, integer array that holds 8

 In C please. Not C++ or Java. Please use a constant!

In C please. Not C++ or Java. Please use a constant! Thanks!

DESCRIPTION Write a program that: Creates a 1-dimensional, integer array that holds 8 values. Prompts the user to enter 8 integers between 0 and 20 (inclusive) and stores the data in the array. Prints the array index, array data, and a histogram of the data as shown below. There is no requirement to validate the data. NOTE: You must use a constant to declare the array and control the loops. Be sure to consult zyBooks for help. Sample Output: Enter 8 integer values between 0 and 20... Value 1: 1 Value 2: 5 Value 3:0 Value 4: 16 Value 5: 3 Value 6: 20 Value 7: 11 Value 8: 8 Index Value Histogram 0 1 1 5 2 0 3 16 4 3 5 20 6 11 *** 7 8 ******** ***

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!