1
2
#include "conio.h"
#include <iostream>
Here is some code for bubble sort. It's in Spanish but it works.
The limit of numbers is 20 and there is a "validation" part for when the user inputs the amount of numbers to order, so if the user writes a 1 it will give and error message and ask for other number to change the delimiter, and if the user gives a number bigger than 20 it won't work aswell.
The limit of numbers is 20 and there is a "validation" part for when the user inputs the amount of numbers to order, so if the user writes a 1 it will give and error message and ask for other number to change the delimiter, and if the user gives a number bigger than 20 it won't work aswell.
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.