An investigation was carried out to find the formula of a hydrocarbon, $\text{C}_x\text{H}_y$. $10\,\text{cm}^3$ of gaseous hydrocarbon, $\text{C}_x\text{H}_y$, was combusted in excess oxygen, producing $20\,\text{cm}^3$ of carbon dioxide and $30\,\text{cm}^3$ of water vapour. What is $\text{C}_x\text{H}_y$?
- A$\text{CH}_4$
- B$\text{C}_2\text{H}_4$
- C$\text{C}_2\text{H}_6$
- D$\text{C}_3\text{H}_8$