about | help | code help+videos | done | prefs |
An amoeba can split itself into two once every h hours. How many hours does it take for a single amoeba to become target amoebae? Write a function amoebaGrowth(h, target) that returns the answer to this question. amoebaGrowth(0, 5) → 0 amoebaGrowth(1, 7) → 3 amoebaGrowth(2, 15) → 8 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy