Given:
The cost of tickets, x=$12.
The total number of people gone for movie, n=4.
The cost of each snack, y=$2.
The total amount brought by the friends, T=20.
Let m be the maximum number of snacks bought.
Now, the expression for the total amount if all the money is spent is,
Solve the above expression for m.
So, the maximum number of snacks they can buy is 4.
Therefore, they can buy 0, 1, 2, 3 or 4 number of snacks.
In interval notation, the number of snacks they can buy is [0, 4].