Create a one-dimensional array holding the cheapest ticket price data. Write a method to compute each of the following:
a) The average ticket price.
b) The highest ticket price.
c) The lowest ticket price.
d) The total revenue generated from ticket sales.
e) The median ticket price.