Question: Doing in java Marks: 20) Write a Java application and use a two-dimensional array that will store the five top artist sales for application must
Marks: 20) Write a Java application and use a two-dimensional array that will store the five top artist sales for application must also hold the artist salies for CDs, DVDs and BLU RAY items Do not forget to use for this question. ne the marking guideline on the mext page to see how the marks are allocated guideline on Your program must array to contain the three sale items for five different artists. A single array must be used to store the artist names ARTIST NAME Ed Sheeran Pink Bruno Mars Foo Fighters Taylor Swift CD SALESDVD SALES 900 000 700 000 800 000 100 000 300 000 100 000 800 000 500 000 100 000 200 000 BLU RAY SALES 500 000 500 000 50 000 200 000 S0 000 Q.1.2 Allow a user to enter in a number, ranging from 1 to 5, which will represent the artist position with regards to the alburn sales. Q1.3 Printout the artist name including the CD, DVD, BLU RAY sales amounts and total sales Example: Enter a pos ED SHEERA1 was in position i for 2017 sales. CD SALES: 900, 000.00 DVD SALES: 800.000.0 BLO RAY SALES:600,000.00 TOTAL: 2,200,000.00 O The Independent Institute of Education (Pty) Ltd 2018 Page 4 of 10
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
