ABC bakeries is trying to predict it's cookie ingredient ordering needs more precisely. After years of baking cookies, the following formula holds true:
1000 cookies require 500kg of flour, 100kg of sugar, and 100 eggs.
However, ABC has discoverd that once the order is larger than 2000 cookies, then the recipe changes:
2000 cookies requires 1100kg of flour, 230kg of sugar, and 250 eggs.
The recipe ratios stays constant after that.
Further, ABC bakeries have observed that cookie orders for every month, after the month of January, grow 5% month over month.
ABC bakeries have decided that they will use a guess for how many cookies they will sell in January as the basis for predicting their ingredient needs for the rest of the year.
You are to write software that will:
- Take as input a guess of how many cookies ABC bakeries will sell in January
- Predict for them how many cookies they will sell and how much flour, sugar, and egss they will need for each month until December. Also predict the total.