Project in C Skill Tree

Sorting Courses with Bubble Sort

Beginner

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.

C

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

Teacher

labby

Labby

Labby is the LabEx teacher.