Cody filled a container with 8 7/8 quarts of iced tea. How many 1/4-quart glasses can be served from the container?

To find the number of 1/4-quart glasses that can be served from the container, we need to divide the total amount of iced tea by the amount of iced tea in each glass.

Since each glass contains 1/4 quart, we can divide 8 7/8 quarts by 1/4 quart to find the number of glasses.

8 7/8 ÷ 1/4 = (71/8) ÷ (1/4) = 71/8 * 4/1 = 284/8 = 35.5

Therefore, Cody can serve 35 and 1/2 1/4-quart glasses from the container.