According to first condition,
45 students consume food in 2 months, i.e. in 60 days
So the ratio would be 45:60
According to second condition,
same amount of food is consumeed by 27 studsents in x days
So the ratio would be, 27:x
By inverse prportion,
45×60=27×x
∴x=45×6027
∴x=100
Answer: 27 students will consume the same stock of food for 100 days.