Question: ( 2 ) _ A table contains sales data. Each row contains data on units sold of three games ( Doom , Frogger, and Tetris

(2)_A table contains sales data. Each row contains data on units sold of three games (Doom, Frogger, and Tetris) for a sales representative. Which of the 2D arrays most clearly reflects this mental model of the data?
\table[[,Doom,Frogger,Tetris],[Rep1,150,200,100],[Rep2,200,400,200],[Rep3,250,350,150],[Rep4,300,380,200]]
a. int [] units = new int 12
b. int [][] units = new int [4][3];
c.[][] units = new int [3][4];
d. int ][] units = new int [5][4];
 (2)_A table contains sales data. Each row contains data on units

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!