From d4e2f99a940fb964a9f4870349a0dc63466e0f5d Mon Sep 17 00:00:00 2001 From: SAM <73647831+samhackathon@users.noreply.github.com> Date: Tue, 31 Oct 2023 13:30:07 +0500 Subject: [PATCH] Delete loops.c --- loops.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 loops.c diff --git a/loops.c b/loops.c deleted file mode 100644 index e9b62d371fd..00000000000 --- a/loops.c +++ /dev/null @@ -1,24 +0,0 @@ -#include -int main() { - int i,j,k,p; - - for(i=1;i<=4;i++) - { - p=1,k=1; - for(j=1;j<=7;j++) - - if(j<=5-i || j>=3+i)//use or operator - { - printf("%d",k); - p=k;//data ko copy kar diya increase ho gya - j<4 ? k++:k--; - } - - else - { - printf(" "); - k=p; //data ko vapis copy kara diya - } - printf("\n"); - } - return 0;