logic.c: Tested '&&', '||' operators