The farmer has 125 cows because 50 / .4 = <<50/.4=125>>125

The farmer has 75 female cows because 125 x .6 = <<125*.6=75>>75

The farmer will get 150 gallons of milk a day because 75 x 2 = <<75*2=150>>150

# Answer

150
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
40% of a farmer's cattle are males. The rest are females. If a female cow produces 2 gallons of milk a day, how much milk will the farmer get a day if he has 50 male cows?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
150
40% of a farmer's cattle are males. The rest are females. If a female cow produces 2 gallons of milk a day, how much milk will the farmer get a day if he has 50 male cows?
train