The mass of one molecule of a compound is $2.19\times10^{-22}\ \mathrm g$. What is the molar mass of the compound?
My attempt: Using the formula moles=mass/molar mass, I found how to calculate molar mass using the formula molar mass=moles/mass. Therefore, I was under the impression that, surely, $6.02\times10^{23}$ divided by the mass of the compound would have resulted in the molar mass. However, the answer was wrong.