This C program demonstrates the use of command-line arguments to perform bubble sort on a list of integers. The program includes a simple bubble sort implementation and checks for correct usage.
To use this program, follow the instructions below:
- Compile the Program:
gcc main.c bubbleSort.c utility.c -o sortProgram
./sortProgram [A|D] n1 n2 ... n31 n32