You must first calculate the total weight of 1 mole of the substance. You do this by finding the molar weights on the periodic table of each of the elements in the compound:

So now we take the amount of each element that is given in the compound and divide it by the total mass of the compound:
Carbon: 96.08g

Carbon = 49.48%
Nitrogen: 56.028g

Nitrogen = 28.85%
Oxygen: 31.998g

Oxygen = 16.48%
Explanation:
impurities affect both melting point and boiling point
in the case of melting point it lowers the melting point
so I guess one of the samples Ie contained impurities
Explanation:
(a) Dry ice is solid carbon dioxide and its chemical formula is solid
.
(b) Sodium chloride is commonly known as salt in daily life. Hence, chemical formula of salt is NaCl.
(c) Laughing gas is also known as dinitrogen monoxide. Hence, its chemical formula is
.
(d) Marble (chalk limestone) is chemically known as calcium carbonate. Hence, its chemical formula is
.
(e) Baking soda is chemically known as sodium bicarbonate. Hence, its chemical formula is
.
(f) Ammonia has a chemical formula as
.
(g) Water has a chemical formula as
.
(h) Milk of magnesia is a base and it is chemically known as magnesium hydroxide. Its chemical formula is
.
(i) Epsom salt is most often found as heptahydrate of sulfate mineral epsomite. Its chemical formula is usually
. If not present as a heptahydrate then its chemical formula is
where, value of x can be equal to 0 to 7.