Danone Interview Question

Question on accounting treatment- case study, different scenario