-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
Delve into the world of arrays and algorithms with this C++ task! This beginner-level challenge will guide you through implementing a basic sorting algorithm, honing your skills in array manipulation and algorithmic thinking.
Task:
Your challenge is to write a C++ program that sorts an array of integers in ascending order using the Bubble Sort algorithm. Understand the logic behind Bubble Sort and implement it in your program to sort the given array.
Instructions:
- Fork this repository to your GitHub account.
- Clone the forked repository to your local machine:
git clone https://github.com/KALIIOWORK/basic_c-_programs.git - Create a new C++ file named
bubble_sort.cpp. - Write a program that takes an array of integers as input and sorts it using the Bubble Sort algorithm.
- Ensure your program works for arrays of varying sizes.
- Test your sorting algorithm with different input arrays to validate its correctness.
- Compile and run your program to ensure it works correctly.
- Commit your changes and push them to your forked repository.
- Open a pull request with your changes.
Note:
This task will enhance your understanding of arrays and introduce you to basic sorting algorithms. Bubble Sort is a great starting point! Happy coding! 🚀✨
Reactions are currently unavailable