Answer: The moles of oxygen and carbon dioxide in air is
and
respectively
Step-by-step explanation:
To calculate the number of moles, we use the equation:

Given mass of atmosphere =

Average molar mass of atmosphere = 28.96 g/mol
Putting values in above equation, we get:

We know that:
Percent of oxygen in air = 21 %
Percent of carbon dioxide in air = 0.0415 %
Moles of oxygen in air =

Moles of carbon dioxide in air =

Hence, the moles of oxygen and carbon dioxide in air is
and
respectively