From d75c62b3c5f2153353c86b3fb250f2bdfe44bc88 Mon Sep 17 00:00:00 2001 From: "L.Teena Xavier" <155170860+Tenziee@users.noreply.github.com> Date: Mon, 19 Feb 2024 11:42:25 +0530 Subject: [PATCH 01/12] Update add.py --- add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/add.py b/add.py index 79aff70..1cd6df1 100644 --- a/add.py +++ b/add.py @@ -1,5 +1,5 @@ a=8 b=4 d=7 -c=a+b=d +sum=a+b=d print c From 60a0ddf15fad3c9ef502dc409fbeb885daa373cb Mon Sep 17 00:00:00 2001 From: Tenziee Date: Mon, 19 Feb 2024 12:13:24 +0530 Subject: [PATCH 02/12] changes --- add.py | 4 ++-- multi.c | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 multi.c diff --git a/add.py b/add.py index 1cd6df1..5a6eaa3 100644 --- a/add.py +++ b/add.py @@ -1,5 +1,5 @@ -a=8 +a1=8 b=4 d=7 -sum=a+b=d +sum=a1+b=d print c diff --git a/multi.c b/multi.c new file mode 100644 index 0000000..01ed005 --- /dev/null +++ b/multi.c @@ -0,0 +1,17 @@ +#include +int main() +{ + int num1, num2, sum; + + printf("Enter the first number: "); + scanf("%d", &num1); + + printf("Enter the second number: "); + scanf("%d", &num2); + + sum = num1 * num2; + + printf("The sum of %d and %d is %d", num1, num2, sum); + + return 0; +} \ No newline at end of file From 6be83894d205c8579f5180cd822b7e09232937f2 Mon Sep 17 00:00:00 2001 From: "L.Teena Xavier" <155170860+Tenziee@users.noreply.github.com> Date: Mon, 19 Feb 2024 12:15:07 +0530 Subject: [PATCH 03/12] Update add.py --- add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/add.py b/add.py index 5a6eaa3..2db66d8 100644 --- a/add.py +++ b/add.py @@ -1,5 +1,5 @@ a1=8 b=4 d=7 -sum=a1+b=d +sum=a1+b=g print c From d8e31451b7f04ddae16fa5d8eab19328e72696d8 Mon Sep 17 00:00:00 2001 From: "L.Teena Xavier" <155170860+Tenziee@users.noreply.github.com> Date: Tue, 20 Feb 2024 17:57:01 +0300 Subject: [PATCH 04/12] Update multi.c --- multi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multi.c b/multi.c index 01ed005..89f2795 100644 --- a/multi.c +++ b/multi.c @@ -9,9 +9,9 @@ int main() printf("Enter the second number: "); scanf("%d", &num2); - sum = num1 * num2; + d= num1 * num2; printf("The sum of %d and %d is %d", num1, num2, sum); return 0; -} \ No newline at end of file +} From e8dc68f0482ada1989f1456a2282d4908826d2dd Mon Sep 17 00:00:00 2001 From: Tenziee Date: Tue, 20 Feb 2024 18:03:51 +0300 Subject: [PATCH 05/12] changes --- multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi.c b/multi.c index 89f2795..517ed4e 100644 --- a/multi.c +++ b/multi.c @@ -13,5 +13,5 @@ int main() printf("The sum of %d and %d is %d", num1, num2, sum); - return 0; + return 1; } From 981c1a09a67b4a3131f33157ddf0109387a6e7f3 Mon Sep 17 00:00:00 2001 From: "L.Teena Xavier" <155170860+Tenziee@users.noreply.github.com> Date: Tue, 20 Feb 2024 18:13:21 +0300 Subject: [PATCH 06/12] Update multi.c --- multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi.c b/multi.c index 517ed4e..b704f97 100644 --- a/multi.c +++ b/multi.c @@ -1,7 +1,7 @@ #include int main() { - int num1, num2, sum; + int num1, b, sum; printf("Enter the first number: "); scanf("%d", &num1); From 447fce51c73d4715032e9785a5606417c2852003 Mon Sep 17 00:00:00 2001 From: "L.Teena Xavier" <155170860+Tenziee@users.noreply.github.com> Date: Mon, 26 Feb 2024 12:03:41 +0530 Subject: [PATCH 07/12] Update multi.c --- multi.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/multi.c b/multi.c index b704f97..acbf995 100644 --- a/multi.c +++ b/multi.c @@ -5,13 +5,4 @@ int main() printf("Enter the first number: "); scanf("%d", &num1); - - printf("Enter the second number: "); - scanf("%d", &num2); - - d= num1 * num2; - - printf("The sum of %d and %d is %d", num1, num2, sum); - - return 1; -} + From a98bf4d17695a11ec0aaa272155e6cfdfbab499c Mon Sep 17 00:00:00 2001 From: Ragnar Date: Sat, 25 May 2024 20:23:39 +0530 Subject: [PATCH 08/12] second commit --- add.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 add.c diff --git a/add.c b/add.c new file mode 100644 index 0000000..99d9dda --- /dev/null +++ b/add.c @@ -0,0 +1,12 @@ +#include +void main() +{ + int a,b,c; + printf("Enter the number of a:"); + scanf("%d",&a); + printf("Enter the number of b:"); + scanf("%d",&b); + c=a+b; + printf("The sum = "); + scanf("%d",&c); +} \ No newline at end of file From 3e0ae2b90164a45838d88ba9c3abf1652d8d724a Mon Sep 17 00:00:00 2001 From: "L.Teena Xavier" <155170860+Tenziee@users.noreply.github.com> Date: Sat, 25 May 2024 19:27:13 +0530 Subject: [PATCH 09/12] Update add.c --- add.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/add.c b/add.c index 99d9dda..77fa306 100644 --- a/add.c +++ b/add.c @@ -7,6 +7,5 @@ void main() printf("Enter the number of b:"); scanf("%d",&b); c=a+b; - printf("The sum = "); - scanf("%d",&c); -} \ No newline at end of file + +} From 793d2113916337eed364fa8c04fa592ee863e226 Mon Sep 17 00:00:00 2001 From: Ragnar Date: Sat, 25 May 2024 20:29:44 +0530 Subject: [PATCH 10/12] third commit --- add.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/add.c b/add.c index 77fa306..1f058f8 100644 --- a/add.c +++ b/add.c @@ -5,7 +5,6 @@ void main() printf("Enter the number of a:"); scanf("%d",&a); printf("Enter the number of b:"); - scanf("%d",&b); - c=a+b; + } From 2b797c80aaed9110d1151575ec3272e571fc5e7e Mon Sep 17 00:00:00 2001 From: "L.Teena Xavier" <155170860+Tenziee@users.noreply.github.com> Date: Sat, 25 May 2024 20:03:11 +0530 Subject: [PATCH 11/12] Update add.c --- add.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/add.c b/add.c index 1f058f8..4613d91 100644 --- a/add.c +++ b/add.c @@ -1,7 +1,5 @@ #include -void main() -{ - int a,b,c; + printf("Enter the number of a:"); scanf("%d",&a); printf("Enter the number of b:"); From 23d64bd4c986205cb85f91e2a7ac8e79857e970f Mon Sep 17 00:00:00 2001 From: Ragnar Date: Mon, 27 May 2024 20:13:11 +0530 Subject: [PATCH 12/12] fir com --- sub.c | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sub.c diff --git a/sub.c b/sub.c new file mode 100644 index 0000000..41b69f7 --- /dev/null +++ b/sub.c @@ -0,0 +1,8 @@ +#include +void main() +{ + int a=3,b=2,c; + c=a-b; + printf("Sub c="); + scanf("%d",&c); +} \ No newline at end of file