In nitric oxide, N is bonded to O by a double bond and N has 3 lone pair of electrons.
FC = total number of valence electron on the element - 1/2 (number of electrons present as bond pairs) - number of electrons present as lone pair
FC = 5 - 1/2 (2) - 3 = 5 - 4= 1