123456789101112
switch( number ) { case < num2: //code break; case > num2: //code break; case == num2: //code break; }