You are on page 1of 1

#include <iostream> #include <conio.

h> using namespace std; int main () { srand (time (NULL)); int matriz [5][6]; int acum=0; for (int i=0; i<5; i++) { for (int j=0; j<6; j++) matriz[i][j]= rand () %10; cout<<matriz [i][j]; acum=acum+matriz[i][j]; } } getch (); return 0; }

You might also like