public final boolean between(int iNum,int iMin,int iMax){
  return (iNum >= iMin) && (iNum <= iMax);
}

public final boolean between ( int iNum , int iMin , int iMax ) { return ( iNum >= iMin ) && ( iNum <= iMax ) ; }
this function returns true when the inum is between the limits [ imin , imax ]
