4.9k views
3 votes
9.6 Code Practice

Instructions
1
Declare a 4x 5 array called N

Please helppp

User Jay Dub
by
3.5k points

1 Answer

2 votes

Answer:

See Explanation

Step-by-step explanation:

The question lacks so many details, as the array type and the programming language is not stated.

Assume that, it is Java:

The rule to follow is:

Data-Type[][]Array-Name = new Data-type[rows][columns]

If the given information is for an array of type integer, the code will be;

int[][] N = new int[4][5]

Where

N = Array-Name

int = Data-type

4 and 5 are the dimensions of the array

User Oori
by
2.9k points