From d85d7ddee2562856b7e212b79e15104ad76117a6 Mon Sep 17 00:00:00 2001 From: MSJISHNU Date: Thu, 2 Jan 2025 12:04:58 +0530 Subject: [PATCH 1/3] first commit --- num.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/num.c b/num.c index 1222ec7..9a605af 100644 --- a/num.c +++ b/num.c @@ -9,7 +9,7 @@ int main() { printf("Enter the second number: "); scanf("%d", &num2); - sum = num1 + num3; + sum = num1 + num3 + 3; printf("The sum of %d and %d is %d.", num1, num2, sum); From eb82282a588fb406529eb17268c1183888d5e29a Mon Sep 17 00:00:00 2001 From: MSJISHNU Date: Thu, 2 Jan 2025 12:31:01 +0530 Subject: [PATCH 2/3] recent --- num.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/num.c b/num.c index 9a605af..1222ec7 100644 --- a/num.c +++ b/num.c @@ -9,7 +9,7 @@ int main() { printf("Enter the second number: "); scanf("%d", &num2); - sum = num1 + num3 + 3; + sum = num1 + num3; printf("The sum of %d and %d is %d.", num1, num2, sum); From e062224642374adb0dffcba791bfd19b206f149d Mon Sep 17 00:00:00 2001 From: MSJISHNU Date: Thu, 2 Jan 2025 12:31:28 +0530 Subject: [PATCH 3/3] Updated recent --- num.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/num.c b/num.c index 1222ec7..d30993c 100644 --- a/num.c +++ b/num.c @@ -9,7 +9,7 @@ int main() { printf("Enter the second number: "); scanf("%d", &num2); - sum = num1 + num3; + sum = num1 + num2; printf("The sum of %d and %d is %d.", num1, num2, sum);