Answer:
19 cases and 53 sodas
Explanation:
First we will see how many cans did Jamie bought. As he bought 23 cases and each case has 12 cans, the total amount of cans is:
23 * 12 = 276 cans
If 223 were drunk, for getting the number of cases used we just need to divide the number of cases drunk between the number of cans each case contains:
223 / 12 = 18.58
As our answer must be an integer number, as cases are integer, we use 19 because 19 cases were opened. Notice that if we chose 18, this would imply 18*12=216 cans, which is less than the 223 drunk. So, 19 cases were used, although the last case was not drunk completely.
For getting the sodas left over we just need to subtract the amount drunk to the total:
276 - 223 = 53 sodas were left over