just wanna ask...
what function will I use so that the program will ascend or descend. I tried If but I need lesser code...
here is the part of the code.
1 2 3
x > y;
y = z;
z > y;
Also...I can't use array...just only if...else... sorry if I'm troubling you...
I meant, If I entered 3 numbers the program will put it in ascending order.
But I need lesser code...
Because the code I made is a lot longer...
so I just want to ask what function to use in order to have lesser code....