if ( -100 < var < 100){ //do this } else if ( 100 < var < 200){ //do this } else if ( 200 < var < 300){ //do this } else { //var is not in the ranges //do this instead }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)