Childhood nutrition affects IQ level, study finds