showing results for - "the farm problem javascript"
Emely
13 May 2017
1function animals(chickens, cows, pigs) {
2    chickenLegs = chickens * 2;
3    cowLegs = cows * 4;
4    pigLegs = pigs * 4;
5    legTotal = chickenLegs + cowLegs + pigLegs;
6    return legTotal;
7}