## Write a program that reads numbers from an array and graphs the information in the form of a bar

Write a program that reads numbers from an array and graphs the information in the form of a bar chart or histogram. If the number is printed, then a bar consisting of that many asterisks is printed beside the number. Note: The defined size of the array is 10. See the example below. 6. Write a program to determine the maximum height to which a projectile will travel if atmospheric resistance is neglected, for different initial velocities. This problem demonstrates the use of repetition controlle

## 6 Write a program to determine the maximum height to which a projectile will travel if atmospheric

6. Write a program to determine the maximum height to which a projectile will travel if atmospheric resistance is neglected, for different initial velocities. This problem demonstrates the use of repetition controlled by a terminating limit. Method: The mass of the projectile is m, the initial velocity is v0 m/sec, the last initial velocity is vft/sec. From equations of motion: w=mg, Fz=maz. Applying these equations for the projectile results in the following equations: mg=mac gives ac=g. Initia