an income in excess of 60 percent of area median gross income but not in excess of 80 percent of area median gross income, clause (i) shall be applied for substituting 80 percent for 60 percent each place it appears. . (c) Effective date The amendments made by this section shall apply to taxable years beginning after December 31, 2016. 104. Modification of student occupancy rules (a) In general Subparagraph (D) of section 42(i)(3) of the Internal Revenue Code of 1986 is amended to read as follows: (D) Rules relating to students (i) In general A unit occupied solely by individuals who— (I) have not attained age 24, and (II) are enrolled in a full-time course of study at an institution of higher education (as defined in section 3304(f)), shall not be treated as a low-income unit. (ii) Exception for certain Federal programs In the case of a federally assisted building (as defined in subsection (d)(6)(C)(i)), clause (i) shall not apply to a unit the occupants of which meet all requirements applicable under the housing program described in subsection (d)(6)(C)(i) through which the building is assisted, financed, or operated. (iii) Other exceptions Clause (i) shall not apply to a unit occupied by an individual who— (I) is married, (II) is a person with disabilities (as defined in section 3(b)(3)(E) of the United States Housing Act of 1937), (III) is a veteran (as defined in section 101(2) of title 38, United States Code), (IV) has one or more qualifying children (as defined in section 152(c)), or (V) meets the income limitation applicable under subsection (g)(1) to the project of which the building is a part and is, or was immediately prior to attaining the age of majority— (aa) an emancipated minor or in legal guardianship as determined by a court of competent jurisdiction in the individual's State of legal residence, (bb) under the care and placement responsibility of the State agency responsible for administering a plan under part B or part E of title IV of the Social Security Act, or (cc) was an unaccompanied