Essential JavaScript

Flower Food Kata

You have a beautiful flower garden with bushCount flower bushes. You are going to use fertilizer on the bushes and you want to give each bush the same number of scoops.

You received three loads of fertilizer from different farms. Each load had a different number of scoops in it:

  • scoops1
  • scoops2
  • scoops3

Write a function to determine how many scoops of fertilizer each bush should receive. The result can be an integer or floating point number.

Code Editor