TCS
Company
Programming
Output
There are 5 sweets- jamun, kulfi, peda, laddu and jalebi that I wish to eat on 5 consecutive days. Monday through Friday, one sweet at a day, based on the following self-imposed constraints: A) laddu is not eaten on Monday. B) if jamun is eaten on Monday, then laddu must be eaten on Friday. c) if laddu is eaten on Tuesday, kulfi must be eaten on Monday D) if peda is eaten the day following the day of eating jalebi Based on the above, peda can be eaten on any day except?
a) monday
b) tuesday
c) friday
d) thursday
Read Solution (Total 3)
-
- Since peda can be eaten following the day of jalebi,hence peda cannot be eaten at any cost on monday
- 11 years agoHelpfull: Yes(35) No(3)
- we can definitely say that peda can't be eaten on monday as given peda is eaten the day following the day of eating jalebi so even if we eat jalebi on monday peda is eaten on tuesday.......this means peda can't be eaten on monday
- 11 years agoHelpfull: Yes(9) No(2)
- ANS: MONDAY
because it is followed by eating jalebi. So only after eating jalebi, peda is eaten. Since sunday is not taken into account, peda cannot be eaten on monday! - 11 years agoHelpfull: Yes(4) No(1)
TCS Other Question