Adults and children clinically diagnosed with uncomplicated enteric fever were enrolled in the study to receive gatifloxacin ( 10 mg/kg/day ) in a single dose or ofloxacin ( 20 mg/kg/day ) in two divided doses for 7 days .