got it finally :)
Code:
#include <stdio.h>
#include <conio.h>
void main()
{
int i,j,k ;
for (i=1; i<=3; i++)
{
for (j=1; j<=3; j++)
{
for (k=1; k<=3; k++)
{
printf ("%d%d%d\n",i,j,k);
}
}
}
getch();
}
Printable View
got it finally :)
Code:
#include <stdio.h>
#include <conio.h>
void main()
{
int i,j,k ;
for (i=1; i<=3; i++)
{
for (j=1; j<=3; j++)
{
for (k=1; k<=3; k++)
{
printf ("%d%d%d\n",i,j,k);
}
}
}
getch();
}
Of course that code isn't standard.
yes "laserlight" had pointed these errors I am making the last time itself. Will see to it that I will not repeat it next time.
Thank you all once again.