112 113 121 122 131 132...

#include <stdio.h>

int main(void)
{
int i, j, k;

i = 1;

while(i <= 3)
{
j = 1;

printf("\n");
while(j <= 3)
{
k = 1;

while(k <= 3)
{
if((i == j && i != k) ||
(j == i && j != k) ||
(k == i && k != j))
printf("%d%d%d\t", i, j, k);
k++;
}

j++;
}

i++;
}

return 0;
}

1 comment:

  1. Hello Gunjan,

    The programming shared by you valuable for me. Thank you so much to share this useful information.

    ReplyDelete

kiss on google ads if you are anonymous because your ip is trackable.thank you.

......from.admin