Coded IF

Coded two if statements