In REXX, the % operator performs integer division (truncating the fractional part). 12 divided by 4 equals exactly 3, so z=3. Options 0, 4, and 12 are incorrect calculations. The % operator specifically returns the quotient without remainder, unlike / which preserves decimal results.