From b46b3e23fae2d8b3a7f56c330c74f5cfa5682c91 Mon Sep 17 00:00:00 2001 From: voty1212 <55994808+voty1212@users.noreply.github.com> Date: Tue, 1 Oct 2019 19:16:32 +0530 Subject: [PATCH] Update 1.c --- .../1.c" | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git "a/8C\350\257\255\350\250\200\347\244\272\344\276\213/1.c" "b/8C\350\257\255\350\250\200\347\244\272\344\276\213/1.c" index b5cab92..c960cce 100644 --- "a/8C\350\257\255\350\250\200\347\244\272\344\276\213/1.c" +++ "b/8C\350\257\255\350\250\200\347\244\272\344\276\213/1.c" @@ -1,13 +1,13 @@ #include int main(int argc, char *argv[]) { - int i,j,k; - for (i=1;i<5;i++) - for (j=1;j<5;j++) - for (k=1; k<5; k++) + int a,b,c; + for (a=1;a<5;a++) + for (b=1;b<5;b++) + for (c=1; c<5; c++) { - if(i!=j&&i!=k&&j!=k) - printf ("%d,%d,%d\n",i,j,k); + if(c!=b&&a!=c&&b!=c) + printf ("%d,%d,%d\n",a,b,c); } return 0; }