Write a program that inputs values into a one-dimensional array of ten elements. Draws a bar chart or histogram.
Write a program that inputs values into one-dimensional array of ten elements. It reads the values of array elements one by one and draws a bar chart or histogram. For example, if first and second element of the array have values 19 and 8 respectively then the output should be as:Element Value Histogram0. 19 *******************1….