From a344bf8f2e4cebe0da950755a31f7c92a5c4b3d8 Mon Sep 17 00:00:00 2001 From: 22bcad44Pinky Date: Sun, 26 May 2024 17:45:30 +0530 Subject: [PATCH 1/5] first commit --- index.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..0ec4bb8 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +

Hello Pinky

\ No newline at end of file From 860675a3b168a3ec0157fba9857f82e4cdf00181 Mon Sep 17 00:00:00 2001 From: Pinky Sharma A <155943483+22bcad44Pinky@users.noreply.github.com> Date: Sun, 26 May 2024 17:58:30 +0530 Subject: [PATCH 2/5] Update index.html --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 0ec4bb8..797b80b 100644 --- a/index.html +++ b/index.html @@ -1 +1,2 @@ -

Hello Pinky

\ No newline at end of file +

Hello Pinky

+

GOOD MORNING

From bda649202f702b0393f37db04acee43a8494c0fa Mon Sep 17 00:00:00 2001 From: Pinky Sharma A <155943483+22bcad44Pinky@users.noreply.github.com> Date: Sun, 26 May 2024 18:02:47 +0530 Subject: [PATCH 3/5] Update index.html --- index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 797b80b..3981569 100644 --- a/index.html +++ b/index.html @@ -1,2 +1,3 @@ -

Hello Pinky

-

GOOD MORNING

+

Hello Pinky

+

hello

+ From 6c4620855e1d078c9631ebadc1d4e4da28110aad Mon Sep 17 00:00:00 2001 From: 22bcad44Pinky Date: Sun, 26 May 2024 18:11:05 +0530 Subject: [PATCH 4/5] first commit --- add.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 add.c diff --git a/add.c b/add.c new file mode 100644 index 0000000..a5170b6 --- /dev/null +++ b/add.c @@ -0,0 +1,26 @@ +#include + +int main() +{ + // Declare variables + int num1,num2,sum; + + + + printf("Enter two integers: "); + + scanf("%d %d", &num1, &num2); + + + + // calculate the sum of two numbers + + sum = num1 + num2; + + + + // Print the result + + printf("%d + %d = %d", num1, num2, sum); + return 0; +} \ No newline at end of file From af75dabaa88c4c9a14509ddc03b617729654106b Mon Sep 17 00:00:00 2001 From: Pinky Sharma A <155943483+22bcad44Pinky@users.noreply.github.com> Date: Sun, 26 May 2024 18:15:43 +0530 Subject: [PATCH 5/5] Update add.c --- add.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/add.c b/add.c index a5170b6..f510067 100644 --- a/add.c +++ b/add.c @@ -1,9 +1,7 @@ #include int main() -{ - // Declare variables - int num1,num2,sum; + @@ -23,4 +21,4 @@ int main() printf("%d + %d = %d", num1, num2, sum); return 0; -} \ No newline at end of file +}