0

My bubblesort doesn't seem to be working right

https://code.sololearn.com/W26ymJU3sgMe/?ref=app

31st Oct 2017, 10:29 AM
Ayush Sinha
Ayush Sinha - avatar
2 Réponses
+ 15
Line 11 should be: temp = nums[i];
31st Oct 2017, 10:33 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
0
thanks a lot!
31st Oct 2017, 10:38 AM
Ayush Sinha
Ayush Sinha - avatar