profil

Program wyświetlający liczby 1 na ukos

poleca 85% 795 głosów

Treść
Grafika
Filmy
Komentarze

#include
#include

using namespace std;

int tab[7][7];

int main()
{
int i,j;
for (i=0; i<=6; i )
{
for (j=0; j<=6; j )
{
if (i==j) tab[i][j]=1;
else if (i j==6) tab[i][j]=1;
else tab[i][j]==0;
}
}
for (i=0; i<7; i )
{
for (j=0; j<7; j ) cout< cout< }

system("PAUSE");
return EXIT_SUCCESS;
}

Załączniki:
Czy tekst był przydatny? Tak Nie