Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

#include <stdio.

h>
#include <conio.h>
#include <math.h>
#include <stdlib.h>
main()
{
int i, j, b [4][4];
do {

for (i=0; i < 4; i++)
{
printf ("\n\n\n");
for (j = 0; j < 4; j++)
{
if (i == j)
{
b [i][j] = 0;
}
else
{
b [i][j] = (4*i)+j+1;
}

printf ("\t %d", b[i][j]);

}

}
_sleep (8000);
} while (0);
return (0);
}

You might also like