PILNE!!! potrzebuje kogoś kto łapie sięw programowaniu
napisz program w C++
OBOJĘTNIE jaki byle był dwuwymiarowy 4 elementowy i miał min. 15 linjek kodu żródłowego
" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2025 KUDO.TIPS - All rights reserved.
Program ma być dwuwymiarowy 4-elementowy? :D
Pewnie chodzilo Ci o to, aby zawieral tablicy dwuwymiarową 4-elementową, prosze:
#include <iostream>
using namespace std;
int main()
{
int tab[2][2];
for (int i=0; i<2; i++)
for (int j=0; j<2; j++)
tab[i][j]=(i*j)+2;
for (int i=0; i<2; i++)
{
for (int j=0; j<2; j++)
cout << tab[i][j] << " ";
cout << "\n";
}
return 0;
}