Menu

Sportcom Leading Retailer Selling Sports Products Table 1 Shows Consumer Purchases Sports Q43813801

Sport.com is a leading retailer in selling sports products. Table 1 shows the consumer purchases of sports products from 2006

I need help with this question

Sport.com is a leading retailer in selling sports products. Table 1 shows the consumer purchases of sports products from 2006 to 2015 in billion Ringgit Malaysia. Suppose year values and customer purchase values as depicted in Table 1 are stored in one dimensional array. Each row records customer purchases values per year. Write a Java program that displays years, customer purchases in ascending order, total purchases and average. The program should be able to produce output as shown in Figure 1. 1. Table 1 Year Customer Purchases 2006 14.45 2007 13.20 14.44 2008 2009 15.15 2010 22.15 2011 19.37 2012 20.11 2013 18.38 2014 22.80 2015 23.97 2006 2009 2013 2011 2012 2007 2008 2010 2014 2015 14.44 14.45 15.15 18.38 19.37 20.11 22.15 22.8 13.2 23.97 Total: 184.02 18.40 Average: Show transcribed image text Sport.com is a leading retailer in selling sports products. Table 1 shows the consumer purchases of sports products from 2006 to 2015 in billion Ringgit Malaysia. Suppose year values and customer purchase values as depicted in Table 1 are stored in one dimensional array. Each row records customer purchases values per year. Write a Java program that displays years, customer purchases in ascending order, total purchases and average. The program should be able to produce output as shown in Figure 1. 1. Table 1 Year Customer Purchases 2006 14.45 2007 13.20 14.44 2008 2009 15.15 2010 22.15 2011 19.37 2012 20.11 2013 18.38 2014 22.80 2015 23.97 2006 2009 2013 2011 2012 2007 2008 2010 2014 2015 14.44 14.45 15.15 18.38 19.37 20.11 22.15 22.8 13.2 23.97 Total: 184.02 18.40 Average:

Expert Answer


Answer to Sport.com is a leading retailer in selling sports products. Table 1 shows the consumer purchases of sports products from…

OR