Answer:
2
Explanation:
Find the value of c where p = 0.
0 = c² + 2c − 5
6 = c² + 2c + 1
6 = (c + 1)²
±√6 = c + 1
c = -1 ± √6
c must be positive, so c = -1 + √6 ≈ 1.45. So John must sell at least 2 candy bars to make a profit.
We can also show this using trial and error.
If c = 0, then p = -5
If c = 1, then p = -2
If c = 2, then p = 3