From d724845fb2c0bc34c99ddd84e6e5e001ce588d07 Mon Sep 17 00:00:00 2001 From: Zitihskx <33897365+Zitihskx@users.noreply.github.com> Date: Wed, 20 Oct 2021 15:01:30 +0545 Subject: [PATCH 1/3] Changes made --- C/program-1/program.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/C/program-1/program.c b/C/program-1/program.c index 6322e486..21b22fd2 100644 --- a/C/program-1/program.c +++ b/C/program-1/program.c @@ -1,15 +1,20 @@ + #include +#includeR int main() { /*initialization */ + clrscr(); int n,i,j; - printf("enter the number of rows"); /*Input the number of rows */ - scanf("%d",&n); + printf("Enter the number of rows"); /*Input the number of rows */ + scanf("%d",&i); + print("Enter the number of columns"); + scanf("%d",&j); for(i=1;i<=n;i++) /*condition */ { for(j=1;j<=i;j++) - { - printf(" %d",j); /*output */ + { + printf("%d",n); /*output */ } printf("\n"); }return 0; From 09466e661885b6aaa5c4de01bba3d19e6907457f Mon Sep 17 00:00:00 2001 From: Zitihskx <33897365+Zitihskx@users.noreply.github.com> Date: Wed, 20 Oct 2021 15:04:52 +0545 Subject: [PATCH 2/3] Lit change --- C/program-8/program.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/C/program-8/program.c b/C/program-8/program.c index 0ce8b9cc..3a1c062c 100644 --- a/C/program-8/program.c +++ b/C/program-8/program.c @@ -1,7 +1,7 @@ #include int main() { - + clrscr(); int y,n,m,d,j; printf("enter the input"); scanf("%d",&n); @@ -12,4 +12,5 @@ int main() printf("year=%d",y); printf("months =%d",j); printf("days=%d",d); + getch(); } From e2720ffb455f6158ead6c04c65114043b6ed07aa Mon Sep 17 00:00:00 2001 From: Zitihskx <33897365+Zitihskx@users.noreply.github.com> Date: Wed, 20 Oct 2021 15:48:56 +0545 Subject: [PATCH 3/3] Naya changes --- C/Program 85 | 1 + 1 file changed, 1 insertion(+) create mode 160000 C/Program 85 diff --git a/C/Program 85 b/C/Program 85 new file mode 160000 index 00000000..216e562a --- /dev/null +++ b/C/Program 85 @@ -0,0 +1 @@ +Subproject commit 216e562a0e299ca545ee651f21a7188e500d6c56