Question: Programming language: Java Consider the following data from Forbes: Create a one-dimensional array holding the cheapest ticket price data. Compute the following: 1. The average
Programming language: Java
Consider the following data from Forbes:

Create a one-dimensional array holding the cheapest ticket price data. Compute the following:
1. The average cheapest ticket price
2. The maximum
3. The minimum
4. The median half the values fall below the median; half above
How would you do these same things if you wanted to keep the name of the tour associated with the ticket data?
Most Expensive Tours Tour One Direction The Rolling Stones Beyonc Eagles Pink Paul McCartney Fleetwood Mac Depeche Mode Bruno Mars Black Sabbath Justin Timberlake Justin Bieber Taylor Swift & Ed Sheeran John Mayer Dave Matthews Band Lil Wayne Rush Bon Jovi Matchbox 20 Avg Price $674.23 $637.50 $358.97 $312.25 $299.90 $273.73 $270.29 $263.30 $250.56 $227.95 $221.88 $214.12 $214.03 $208.09 $202.53 $193.51 $192.04 $191.68 $182.69 Cheapest Ticket/Venue $54/First Midwest Amphitheatre $159/TD Garden $35/Chesapeake Energy Center $57/Rexall Place $52/Verizon Arena-Little Rock $49/Safeco Field $59/BB&T Center $33/DTE Energy Music $48/Scottrade Center $33/First Midwest Bank Amphitheatre $40/Ford Field $14/Scotiabank Place $58/Bridgestone Arena $37/Desert Sky Pavilion $47/DTE Energy Center $33/First Niagara Pavilion $29/Time Warner Cable Pavilion $25/MetLife Stadium $25/Farm Bureau Live
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
