The valency of carbon is 4 and that of oxygen is 2. What is the molecular formula of carbon dioxide?
CO
C2O
CO2
C2O2
Write the molecular formula of carbon dioxide.