.Each of W, X, Y, Z, A, B, and C has a wedding on a different day from Monday to Sunday.
C has to attend a wedding immediately after A.
Y has to attend a wedding on one of the days before both B and W.
Only Z has to attend a wedding before A.
X has to attend a wedding on Friday.
B does not have a wedding on Sunday.
Solution:
Using the given information, let’s organize the days as follows:
Since X’s wedding is on Friday, we know that X is scheduled for Friday.
Since Z is the only person who has a wedding before A, Z must have a wedding on Monday, making A's wedding on Tuesday, with C on Wednesday (as C attends immediately after A).
Since Y's wedding must be before B and W, and X is already set for Friday, Y's wedding can only be on Thursday.
B cannot attend a wedding on Sunday, so B’s wedding must be on Saturday, leaving W for Sunday.
Thus, the schedule is as follows:
Monday - Z
Tuesday - A
Wednesday - C
Thursday - Y
Friday - X
Saturday - B
Sunday - W
Answer: Y has to attend a wedding on Thursday.