Introduction
In this project, you will learn how to organize a list of programming courses using the bubble sort algorithm. The courses will be sorted in lexicographical order, allowing you to easily see and summarize the programming languages you have learned.
ð Preview
$ gcc courses.c -o courses
$ ./courses
ASP
ASP.NET
BASIC
C
C## C++
COBOL
JAVA
PASCAL
PHP
ðŊ Tasks
In this project, you will learn:
- How to correctly calculate the length of an array
- How to modify the parameter type of a sorting function
- How to correct the comparison and swapping logic in the sorting algorithm
ð Achievements
After completing this project, you will be able to:
- Organize a list of programming courses using the bubble sort algorithm
- Understand the importance of proper array length calculation and function parameter types
- Apply the correct comparison and swapping logic in a sorting algorithm
- Demonstrate your ability to follow step-by-step instructions and modify existing code to achieve the desired outcome