Returns true if it is possible to get ratio r from given cost and quantity ranges .
def isRatioPossible ( lowCost , upCost , lowQuant , upQuant , r ) : NEW_LINE INDENT for i in range ( lowQuant , upQuant + 1 ) : NEW_LINE DEDENT