Question: For c programing please help Step #9 - Create a function histogram311 that receives a reference to an array of integer values calculated in the

For c programing please help
Step #9 - Create a function histogram311 that receives a reference to an array of integer values calculated in the previous step and prints out a histogram showing the counts of the different values. The Y-axis should display count values from 0-19. The function should check the number of elements and return with a -1 value if it is not 10. Otherwise, the function should create a histogram indicating the numbers calculated in Step #8 above. All labels, lines, and framing of the histogram should look like the following (this is exactly what the output for the test input should be, see below). + - - 19 XX XX 18 | xx XX 17 | xx XX 16 | XX XX 15 1.. XX.XX. 14 | xx xx 13 XX XX XX 12 XX XX XX 11 | XX XX XX XX 10 .....XX......XX. XX. XX. XX. 09 XXXX XX XX XX 08 XX X X XX XX XX XX 07 XX X X XX XX XX XX 06 xx xx xx xx xx xx XX 05 1.xx. .XX..XX.XX.XX.XX.XX.XX.. 04 | XX XX XX XX XX XX XX XX 1 03 | xx xx xx xx xx xx xx xx xx | 02 | xx xx xx xx xx xx xx xx xx xx || 01 | xx xx xx xx xx xx xx xx xx xx | 00 1.xx. .xx..XX.XX.XX.XX. .xx..XX..XX..XX. || +------ - - - - - - - - - - - + 00 10 20 30 40 50 60 70 80 90
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
