A Basic Bubble Sort in Rust

This is a basic bubble sort program written in Rust!

Usage

Make sure you have Rust installed. The installation instructions can be found on the official website.

After you have rust installed, clone the repo and change to the directory.

$ git clone https://github.com/aneeshsharma/BubbleSortRust
$ cd BubbleSortRust

Now, run cargo run to run the program.

$ cargo run

Sample output is here -

Enter size - 5
Enter numbers -
32
29
10
8
3
Sorted array -
3 8 10 29 32

Built With

Share this project:

Updates