diff --git a/assignment03/project1.c b/assignment03/project1.c index 232dcde..a4c0e76 100644 --- a/assignment03/project1.c +++ b/assignment03/project1.c @@ -8,6 +8,17 @@ #define INSERTION_SORT 1 #define SELECTION_SORT 2 +/* +* Course: COMP 2510 +* Assignment: Assignment 3 +* Name: Your Full Name +* Student ID: 12345678 +* Date: 2025-09-18 +* Description: demo insertion sort & selection sort +* by sorting an array of integers input +* by the user. +*/ + void insertionSort(int *arr, size_t size) { if (size < MIN_SIZE) diff --git a/assignment03/project2.c b/assignment03/project2.c index be483de..732cfa4 100644 --- a/assignment03/project2.c +++ b/assignment03/project2.c @@ -8,6 +8,16 @@ #define STRING 3 #define BUFFER_SIZE 256 +/* +* Course: COMP 2510 +* Assignment: Assignment 3 +* Name: Braeden Sowinski +* Student ID: A01385066 +* Date: 2025-11-22 +* Description: Demo a generic swap function to swap +* void pointers based on a user input. +*/ + void swap(void *a, void *b, size_t size) { void *tmp;