Function to return a specific value in a given input range [closed]

int f(int x, int X){
    return (x + (X-1))/X;
}

Browse More Popular Posts

Leave a Comment