From 9e6d441c35560c33e672fd89cdd6d289bbaa4977 Mon Sep 17 00:00:00 2001 From: DevyanshP <22BCAE19@kristujayanti.com> Date: Tue, 28 May 2024 10:16:23 +0530 Subject: [PATCH 1/3] First Commit --- name.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/name.py b/name.py index 0fb70c5..6057cdc 100644 --- a/name.py +++ b/name.py @@ -1,2 +1,4 @@ name = "Your Name" print("My name is", name) +print("This file is beeing updated by 22BCAE19") +print("OPS practial Drill e19") From d254e24e1ef26e84d58a02a6408d3b634d9aefc5 Mon Sep 17 00:00:00 2001 From: DevyanshP <22BCAE19@kristujayanti.com> Date: Tue, 28 May 2024 12:25:10 +0530 Subject: [PATCH 2/3] Update num.c add to sub --- num.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/num.c b/num.c index 1222ec7..8ee0d4f 100644 --- a/num.c +++ b/num.c @@ -9,9 +9,9 @@ int main() { printf("Enter the second number: "); scanf("%d", &num2); - sum = num1 + num3; + sub = num1 - num3; - printf("The sum of %d and %d is %d.", num1, num2, sum); + printf("The sub of %d and %d is %d.", num1, num2, sum); return 0; } From b83f3020d9b61d700421449ffdd39f740c8aa9d7 Mon Sep 17 00:00:00 2001 From: DevyanshP <22BCAE19@kristujayanti.com> Date: Tue, 28 May 2024 12:36:33 +0530 Subject: [PATCH 3/3] Update num.c changes the equation --- num.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/num.c b/num.c index 8ee0d4f..67275a3 100644 --- a/num.c +++ b/num.c @@ -9,7 +9,7 @@ int main() { printf("Enter the second number: "); scanf("%d", &num2); - sub = num1 - num3; + sum = num1 + num2; printf("The sub of %d and %d is %d.", num1, num2, sum);