I have a question as a problem.
Jack has gone to a trip and come back and when his friend asked the weather during Jack's trip, he answered as;
- There were $10$ days which morning was sunny.
- There were $7$ days which afternoon was sunny.
- When afternoon was rainy, morning was sunny.
- It rained totally $15$ times on morning or on afternoon.
So how many days did Jack spend for his trip according to information above?
I found the answer is 16. The answer on the book says 17. Thats why i confused. Thank you.
Hints: Consider the four sets:
$SS$, $SR$, $RS$, and $RR$ ($SR$ means sunny in the morning and rainy in the afternoon).
From the given information, you know that
$|SS|+|SR|=10$ because $10$ days were sunny in the morning.
$|SS|+|RS|=7$ because on $7$ days, the afternoon was sunny.
$|RR|=0$ because if it were rainy in the afternoon, then it would have to be sunny in the morning.
$|SR|+|RS|+2|RR|=15$ because it rained on $15$ days.
From this, can you figure out the total number of days: $|SS|+|SR|+|RS|+|RR|$?