Hey, I got bored so was making this program and i know how to get the highest and lowest number but I was wondering if there was a even quicker way, or would :
if( number1 > number2 && number1 > number3)
highNum = number1;
else if( number2 > number1 && number2 > number3)
highNum = number2;
else if( number3 > number1 && number3 > number2)
highNum = number3;
if( number1 < number2 && number1 < number3)
lowNum = number1;
else if( number2 < number1 && number2 < number3)
lowNum = number2;
else if( number3 < number2 && number1 < number1)
lowNum = number3;