For the life of me I can not figure out how to efficiently code placing three integers in ascending order! I can do it with a bazillion lines of code but I'm certain there is a shorter way.
int num1;
int num2;
int num3;
int min;
int mid;
int max;
(I'm too embarrassed to write those bazillion lines of code!)
any help would be greatly appreciated.
Alli