a compound contains 2.65g C and 0.667g H .How many moles of each element are present in this compound?

Divide each by element by its respective molar mass (can be computed by looking at the periodic table)