+ 1

Bubble Sorting!

Hey guys, so I've never done Bubble Sorting on C++ before and I'm trying to do a simple code where it takes in from the user 10 numbers and sorts it into ascending order (for example: 5, 6, 7, 8, 9, 1, 4, 3, 2, 10 to sorted out of 1, 2, 3, 4, 5, 6, 7, 8, 9, 10). I looked up example and still not able to understand and became overwhelmed. Anyone care to help out and provide some examples and/or tips? Thanks in advance.

10th Apr 2018, 3:35 AM
Feysal101
Feysal101 - avatar
3 Respostas
+ 10
Feysal101 keep on practicing it's a marathon, not a sprint ;)
10th Apr 2018, 6:29 AM
Burey
Burey - avatar
+ 3
Burey Didn't find that at all, thank you so much. Still haven't grasped SoloLearn fully yet.
10th Apr 2018, 5:22 AM
Feysal101
Feysal101 - avatar