25g of a hydrocarbon undergoes complete combustion leading to the formation of 77 g of CO2. What is the % of carbon in the hydrocarbon?
so far i have set out a combustion equation
CxHy + O2 ----> Co2 + H2O
the number of mol of Co2 can be figured out using mass/molar mass formula to equal 1.75 mol of CO2
then i assume i use the 1:1 ratio?