+1

How to sort 3 numbers ascendingly in C++ using if-else? Sorry newbie here

7/7/2019 3:37:55 AM

Don Gumayagay

3 Answers

New Answer

+2

I've made it for you buy I just you to try it few times yourself https://code.sololearn.com/cv7Tg8jRk39V/?ref=app

+2

This looks like a homework problem. Kindly post your code in which you have made efforts first

0

Mayank how you can assign new values to array instead of adding or subtracting them together when you use n[2] += n[0]; n[0] = n[2] - n[0] i Don't know much about arrays yet