Write a program that accepts a list of up to 40 non-negative integers and displays a vertical bar graph of those values.
Number of values to graph: 5
8 4 6 3 7
#
# #
# # #
# # #
# # # #
# # # # #
# # # # #
# # # # #
---------------
8 4 6 3 7
This example graph isnt posting right its supposed to be 4 # signs above the 4 and so on.
Have everything set for my arrays and cutting array off at the right point but my loop to create the # sign graph seems to be messed up as its ony printing one line of #s and spaces.