hello, good, it happens that I am making a program in c++ and I have to print the goals of each respective team, but in each row I have to concatenate each team, but I don't know how to do it, at least I am trying like this, since they all come together but the teams I must put them in each row, then in row 0 of the matrix is honduras, in row 1 el salvador, in row 2 the next and so on.
int aux;
cout<<"========================================================================\n";
cout<<" TABLA ESTADISTICA \n";
cout<<"========================================================================\n";
cout<<"SELECCIONES PJ PG PE PP GF GC DIF PTS \n";
//Imprimir equipos.
for(int i=0; i<4; i++)
{
cout<<nombre1<<"";
cout<<nombre2<<"";
cout<<nombre3<<"";
cout<<nombre4<<"";
for(int j=0; j<8; j++)
{
cout<<matriz[i][j]<<" ";
}
cout<<" \n";
}
cout<<"\n";
system("pause");
system("cls");
imprimirMenu();
It should technically display like this