Four men -- Aaron, Barry, Colin & David and four women -- Marie, Norma, Olive & Pearl -- attended a wedding.
- One of the four men married one of the four women.
- If neither Aaron nor Marie got married, then Olive got married.
- If neither Aaron nor Norma got married, then Barry got married.
- If neither Barry nor Olive got married, then Colin got married.
- If neither Colin nor Norma got married, then Marie got married.
Who got married?
Statement 2 to 5 can be written as
- 1) N A&M THEN Y O
- 2) N A&N THEN Y B
- 3) N B&O THEN Y C
- 4) N C&N THEN Y M
IF 1) IS TRUE THEN Y O, N (M,N&P), N A, FRM 2) Y B, FRM 3) N C OR Y M ( FRM 4) WHICH IS CONTRADICTORY
IF 3) IS TRUE THEN Y C, N (A,B & D), N O, FRM 1) Y M, FRM 2) Y N AND FRM 4 Y N WHICH IS NOT POSSIBLE C CANNOT MARRY N & M
IF 2) OR 4) IS TRUE THEN Y B, N( A,C&D), N N, FRM 4) Y M, FRM 3 N C FRM 1) N O
SO B IS MARRIED TO M OR BARRY IS MARRIED TO MARIE
|
Posted by Salil
on 2013-05-07 02:05:06 |