Computer Science, asked by nabighairfan23, 5 months ago

write a program that stores integer values in an array of 2 rows and 4 columns by do loop.​

Answers

Answered by Anonymous
0

Answer:

Hope this helps you

Explanation:

How to store user input data into 2D array

We can calculate how many elements a two dimensional array can have by using this formula:

The array arr[n1][n2] can have n1*n2 elements. The array that we have in the example below is having the dimensions 5 and 4. These dimensions are known as subscripts. So this array has first subscript value as 5 and second subscript value as 4.

So the array abc[5][4] can have 5*4 = 20 elements.

Similar questions