#include <iostream>
#include <ctime>
#include <stdio.h>
#include <cstdlib>
using namespace std;
int main() {
int liczby[3][3]=
{
10,11,12,
20,21,22,
30,31,32
};
int sumy_wierszu[3]={0,0,0};
for(int i=0;i<0;i++)
{
for(int j=0;j<3;j++)
{
sumy_wierszu[i]+=liczby[i][j];
cout<<liczby[i][j]<<"\t";
}
cout<<endl;
}
cout<<endl;
for (int i=0;i<3;i++){
cout<<"Suma w "<<i+1<<" wierszu: "<<sumy_wierszu[i]<<endl;
}
return 0;
}
po skompilowaniu programu pokazuje się tylko to