matriz
Publicado por Antony (24 intervenciones) el 26/04/2022 23:52:06
Muestre la siguiente matriz en pantalla:
23 45 68
34 99 12
25 78 89
23 45 68
34 99 12
25 78 89
Valora esta pregunta


0


#include <iostream>
using namespace std;
int main()
{int matriz[3][3] =
{{23, 45, 68},
{34, 99, 12},
{25, 78, 89},
};for (int i = 0; i < 3; i++)
{cout << endl;
for (int j = 0; j < 3; j++)
{cout << matriz[i][j] << " ";
} }cout << endl;
return 0;
}


