problem 3c: ifeq