Write the formulae for the given compounds and names of the functional groups present in each of them:

Write the formulae for the given compounds and names of the functional groups present in each of them:
(i) Ethanoic acid.
(ii) Propanone.

The formulae for the given compounds and the names of the functional groups present in them are as follows:
(i) Ethanoic acid: CH3COOH
Functional group: Carboxylic acid group

(ii) Propanone: CH3COCH3
Functional group: Ketonic group