Company X and Company Y gave the following data. Gross margin: Company X: $36.7\%$ Company Y: $42.6\%$ Profit margin: Company X: $5.4\%$ Company Y: $5.4\%$ Which statement is correct?
- ABoth companies earned the same amount of profit for the year.
- BCompany X had a better gross margin than Company Y.
- CCompany Y had a larger proportion of expenses than Company X.
- DThe cost of sales of Company X was lower than that of Company Y.