/* You've got chickens (2 legs), cows (4 legs) and pigs (4 legs) on your farm. * Return the total number of legs on your farm. */ int animals(int chickens, int cows, int pigs) { return (chickens*2)+(cows*4)+(pigs*4); }