In a compound, the number of cats is 20% less than the number of dogs. There are also twice as many frogs as the number of dogs in the compound. Calculate the total number of animals present in the compound if there are 160 frogs. Let's think step by step and output the final answer after "####".
user
There are twice as many frogs as dogs in the compound, meaning there are 160/2 = <<160/2=80>>80 dogs.
The total number of frogs and dogs in the compound is 80+160 = <<80+160=240>>240
The number of cats is less than 20% of the number of dogs, which means there are 20/100*80 = <<20/100*80=16>>16 dogs more than the number of cats.
Therefore, the number of cats is 80-16 = <<80-16=64>>64 cats
The total number of animals in the compound is 64 cats +240 dogs and frogs = <<64+240=304>>304 animals.
#### 304
In a compound, the number of cats is 20% less than the number of dogs. There are also twice as many frogs as the number of dogs in the compound. Calculate the total number of animals present in the compound if there are 160 frogs.
train