From 315561c04d0ad07e6282b1555aaa20dad6b0be4b Mon Sep 17 00:00:00 2001 From: JDil25 <149011166+JDil25@users.noreply.github.com> Date: Tue, 7 May 2024 18:30:47 -0700 Subject: [PATCH 1/4] Update README.md Added my name and student id to README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index aa90123..a831aab 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # CS305_FINAL Contributors: Tayyaba Shaheen -ADD YOUR NAME HERE +James Dilig ID:6275971 From 719defdc7368cb18a33bc15565ac92a501e692f9 Mon Sep 17 00:00:00 2001 From: JDil25 <149011166+JDil25@users.noreply.github.com> Date: Tue, 7 May 2024 18:38:18 -0700 Subject: [PATCH 2/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a831aab..a0f287a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # CS305_FINAL Contributors: Tayyaba Shaheen -James Dilig ID:6275971 +James Dilig From f7e2d2808bfe99b52da76861f1777ec4ce638e37 Mon Sep 17 00:00:00 2001 From: JDil25 <149011166+JDil25@users.noreply.github.com> Date: Tue, 7 May 2024 18:38:36 -0700 Subject: [PATCH 3/4] Update get_student_id.c --- get_student_id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_student_id.c b/get_student_id.c index 8ffa600..81c90b1 100644 --- a/get_student_id.c +++ b/get_student_id.c @@ -1,3 +1,3 @@ int get_student_id(void){ - return 3331212; + return 6275971; } From ca775bd912c490ed9f2b6b22e964ad65ba6bc618 Mon Sep 17 00:00:00 2001 From: JDil25 <149011166+JDil25@users.noreply.github.com> Date: Tue, 7 May 2024 19:12:03 -0700 Subject: [PATCH 4/4] Add files via upload --- main.out | 1 + makefile | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 main.out create mode 100644 makefile diff --git a/main.out b/main.out new file mode 100644 index 0000000..6a03dd4 --- /dev/null +++ b/main.out @@ -0,0 +1 @@ +Student ID: 6275971 diff --git a/makefile b/makefile new file mode 100644 index 0000000..e824037 --- /dev/null +++ b/makefile @@ -0,0 +1,15 @@ + +main.out: main + ./main | tee main.out + +main: main.o get_student_id.o + cc -o main main.o get_student_id.o + +main.o: main.c + cc -c main.c + +get_student_id.o: get_student_id.c + cc -c get_student_id.c + +clean: + rm -f main main.out *.o \ No newline at end of file