Question # 3. Write a program to enter values into one dimensional array of ten elements. The
Fantastic news! We've Found the answer you've been seeking!
Question:
Question # 3. Write a program to enter values into one dimensional array of ten
elements. The entered value for each element must be between 1 to 30.
Read the values of array one by one and draw a bar char or histogram. For
example, if first and second elements of array have values 19 and 7
respectively then output should as:
Element value Histogram
0 19 *******************
1 7 *******
Related Book For
Data Structures and Algorithm Analysis in Java
ISBN: 978-0132576277
3rd edition
Authors: Mark A. Weiss
Posted Date: