Objetivo de la actividad
Utilizar arreglos bidimensionales para el desarrollo de programas que requieren el uso de datos acomodados de manera matricial.
Instrucciones
Realiza los siguientes ejercicios sobre el uso de arreglos bidimensionales.
|
|
|
|
|
|
|
|
10 |
7 |
-3 |
7 |
12 |
5 |
|
12 |
80 |
15 |
-4 |
-1 |
0 |
|
3 |
9 |
51 |
11 |
0 |
2 |
|
-2 |
-7 |
17 |
2 |
-1 |
2 |
int[,] arr = new int[3, 2] { { 1, 2}, { 3, 4}, { 5, 6} };
int[,] arreglo = new int[2,4] { { 1, 2 , 3, 4}, { 5, 6, 7, 8} }; |
|
|||||||||
int[,] arreglo = new int[2,4]; |
|
|||||||||
int[,] arreglo = new int[4,2]; |
|
|||||||||
int[,] arreglo = new int[3,3]; |
|
Checklist
Asegúrate de: