Skip to content

Introduction to Arrays: Implement a Basic Sorting Algorithm in C++ #7

@KALIIOWORK

Description

@KALIIOWORK

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:

  1. Fork this repository to your GitHub account.
  2. Clone the forked repository to your local machine: git clone https://github.com/KALIIOWORK/basic_c-_programs.git
  3. Create a new C++ file named bubble_sort.cpp.
  4. Write a program that takes an array of integers as input and sorts it using the Bubble Sort algorithm.
  5. Ensure your program works for arrays of varying sizes.
  6. Test your sorting algorithm with different input arrays to validate its correctness.
  7. Compile and run your program to ensure it works correctly.
  8. Commit your changes and push them to your forked repository.
  9. 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! 🚀✨

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions