@@ -0,0 +1,346 @@
+public int makeChocolate(int small, int big, int goal) %7B%0A  int bigToUse, smallToUse;%0A%0A  // Number of big bars to use%0A  if (big == 0) bigToUse = 0;%0A  else bigToUse = goal / 5;%0A  if (bigToUse %3E big) bigToUse = big;%0A  // Number of small bars to use%0A  smallToUse = goal - 5*bigToUse;%0A  if (smallToUse %3E small) return -1;%0A%0A  else return smallToUse;%0A%7D%0A

Create makeChocolate.java