c++ help, please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

c++ help, please

The values of the variables X, Y, Z be reversed so that they are sorted in ascending order.

7th Nov 2017, 6:07 PM
Екатерина Барановская
Екатерина Барановская - avatar
2 Answers
+ 4
https://code.sololearn.com/cqfF14AkOwBv/#cpp Let me know if you need an explanation :)
7th Nov 2017, 6:31 PM
Maya
Maya - avatar
+ 3
How was my code overcomplicated? It is the basic algorithm, for beginners. You are using a vector and a pre-made algorithm.
7th Nov 2017, 7:11 PM
Maya
Maya - avatar