KALIIOWORK / KALIIOWORK/basic_c-_programs

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

Aperta
#7 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
good first issue hacktoberfest
Lingua principale
C++
Stelle
0
Fork
6
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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! 🚀✨

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Create the named bubble_sort.cpp file and begin with the issue's Bubble Sort requirements. Compile and run the program with integer arrays of varying sizes and different input orders; it is done when each tested array is sorted in ascending order.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp
Ambito
developer-experience
Tipo di issue
Funzionalità
Difficoltà
1/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.