CLS
DIM arr$(1 TO 5)
FOR i = 1 TO 5
INPUT arr$(i)
NEXT i
PRINT "------"
INPUT z$
PRINT "------"
FOR i = 1 TO 5
IF z$ <> arr$(i) THEN
PRINT arr$(i)
END IF
NEXT i
CLS
DIM arr$(1 TO 5)
FOR i = 1 TO 5
INPUT arr$(i)
NEXT i
PRINT "------"
INPUT z$
PRINT "------"
FOR i = 1 TO 5
IF z$ <> arr$(i) THEN
PRINT arr$(i)
END IF
NEXT i