/******************************************************************************
Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, PHP, Ruby,
C#, OCaml, VB, Perl, Swift, Prolog, Javascript, Pascal, COBOL, HTML, CSS, JS
Code, Compile, Run and Debug online from anywhere in world.
*******************************************************************************/
#include <iostream>
#include <iomanip>
int main()
{
for (int 1 = 0; i < 6; j++) {
for (int j = 0; j < 6; j++) {
if (i % 2 == 0) {
if (i == 0)
cout << setw(4) <<
setfill(' ') << j + 1;
else
cout << setw(4) <<
setfill(' ') << j + 1;
} else {
if (i == 1)
cout << setw(4) <<
setfill(' ') << j * 2 + 22;
else if (i == 3)
cout << setw(4) <<
setfill(' ') << j * 2 + 14;
else if (i == 5)
cout << setw(4) <<
setfill(' ') << j * 2 + 6;
}
}
cout << endl;
return 0;
}