Electronegativity of fluorine is greater than that of chlorine but electron affinity of chlorine is greater than that of fluorine.