Object: To print the table of first 10 numbers.

}

#include <stdio.h>

#include <conio.h>

int main()

int table[10][10];

int ij:

for (i=0; i<10; i++)

{ for (j=0; j<10; j++)

table[i][j]=(i+1)*(1+1);

}

Printf("The table of first 10 numbers as follows :........");

for (i=0; i<10; i++)

{ for (j=0; j<10; j++)

{


Printf("%\n", table [i][j]);


}


return 0;


}

Comments

Popular posts from this blog

switch LED on/off using touch switch