Hi, im new to C++. Can anyone teach me how to output numbers in ascending order after input 3 numbers?
Can i use the if statement to do it?
how to do it?
Thanks.
Sure, when you are processing only 3 numbers, thats no big problem. But if you are going to expand the program, you're gonna have to type a lot of if/else-statments. Then you should use a list