commit ac861c73e764c1adba12ad158518dd9db72c7dff
parent d213a2e595b39465303abf430adb1a1119ec4ee2
Author: Amit Dutta <amitdutta4255@gmail.com>
Date: Sun, 8 Feb 2026 14:16:25 +0530
[2026-02-08] : .\{root} : edit
Diffstat:
3 files changed, 6 insertions(+), 97 deletions(-)
diff --git a/Semester_1/assignment-primary/assignment-p-12_v2.c b/Semester_1/assignment-primary/assignment-p-12_v2.c
@@ -7,50 +7,4 @@
*/
/* Write a C program that takes multiple integers as command-line arguments and finds the
-maximum and minimum value among them. */
-
-#include <stdio.h>
-#include <stdlib.h>
-
-// use atoi()
-
-int main(int argc, char *argv[])
-{
- int current_val, max_val, min_val, i;
- char *endptr;
- long first_arg_val;
- if (argc < 2)
- {
- printf("Usage: %s <integer1> <integer2> ...\n", argv[0]);
- return 1;
- }
- first_arg_val = strtol(argv[1], &endptr, 10);
- if (*endptr != '\0' || argv[1] == endptr)
- {
- printf("Error: Argument '%s' is not a valid integer.\n", argv[1]);
- return 1;
- }
- max_val = (int)first_arg_val;
- min_val = (int)first_arg_val;
- for (i = 2; i < argc; i++)
- {
- long val = strtol(argv[i], &endptr, 10);
- if (*endptr != '\0' || argv[i] == endptr)
- {
- printf("Error: Argument '%s' is not a valid integer.\n", argv[i]);
- return 1;
- }
- current_val = (int)val;
- if (current_val > max_val)
- {
- max_val = current_val;
- }
- if (current_val < min_val)
- {
- min_val = current_val;
- }
- }
- printf("The maximum value is: %d\n", max_val);
- printf("The minimum value is: %d\n", min_val);
- return 0;
-}-
\ No newline at end of file
+maximum and minimum value among them. */+
\ No newline at end of file
diff --git a/deploy_pipeline.py b/deploy_pipeline.py
@@ -14,7 +14,7 @@ from datetime import datetime
BSC_REPO_ROOT = r"G:\bsc"
GENERATE_INDEX_SCRIPT = r"G:\bsc\docs\generate_index.py"
-ARANAG_SITE_DESKTOP = r"C:\Users\PC\Desktop\aranag.site"
+ARANAG_SITE_DESKTOP = r"C:\Users\PC\Desktop\amit.is-a.dev"
BSC_LOCAL_BACKUP = r"G:\bsc_local"
ARANAG_REPO_ROOT = r"G:\aranag"
@@ -27,7 +27,8 @@ ARANAG_PRESERVE = [
"sitemap.xml",
".firebase",
".git",
- "esal"
+ "esal",
+ "amit.is-a.dev"
]
def remove_readonly(func, path, exc_info):
diff --git a/docs/index.html b/docs/index.html
@@ -1199,53 +1199,7 @@ int main(int argc, char *argv[])
*/
/* Write a C program that takes multiple integers as command-line arguments and finds the
-maximum and minimum value among them. */
-
-#include <stdio.h>
-#include <stdlib.h>
-
-// use atoi()
-
-int main(int argc, char *argv[])
-{
- int current_val, max_val, min_val, i;
- char *endptr;
- long first_arg_val;
- if (argc < 2)
- {
- printf("Usage: %s <integer1> <integer2> ...\n", argv[0]);
- return 1;
- }
- first_arg_val = strtol(argv[1], &endptr, 10);
- if (*endptr != '\0' || argv[1] == endptr)
- {
- printf("Error: Argument '%s' is not a valid integer.\n", argv[1]);
- return 1;
- }
- max_val = (int)first_arg_val;
- min_val = (int)first_arg_val;
- for (i = 2; i < argc; i++)
- {
- long val = strtol(argv[i], &endptr, 10);
- if (*endptr != '\0' || argv[i] == endptr)
- {
- printf("Error: Argument '%s' is not a valid integer.\n", argv[i]);
- return 1;
- }
- current_val = (int)val;
- if (current_val > max_val)
- {
- max_val = current_val;
- }
- if (current_val < min_val)
- {
- min_val = current_val;
- }
- }
- printf("The maximum value is: %d\n", max_val);
- printf("The minimum value is: %d\n", min_val);
- return 0;
-}</div>
+maximum and minimum value among them. */</div>
</div>
<div class="file-item flex items-center justify-between px-3 py-2 hover:bg-white hover:shadow-sm rounded-lg transition-all group border border-transparent hover:border-slate-100 mb-1">