about | help | code help+videos | done | prefs |
Write a method that returns the total number of cats, dogs, and fish in the house. The number of each type of animal will be passed in through a parameter with the appropriate name. The number of each type of animal will be non-negative. awakenSL1(0, 0, 0) → 0 awakenSL1(1, 1, 1) → 3 awakenSL1(5, 3, 2) → 10 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 250
Copyright Nick Parlante 2017 - privacy