0

Hi, i am new to this forum and i am just learning c++. Can somebody help me with sorting numbers. I have:

I have 3 ints(int1,int2,int3), each spanning from 5 to 17, now i want to compare int1 and int2 and type out all numbers from lowest to highest(5,6,7,8...), than i want to compare also int2 and int3 and type out all numbers from highest to lowest(17,16,15,14..)