Find the moles of gas: 18.4 g CO2 (1 mole/ 44.01 g) = .41809 moles of CO2
Now you can use the ideal gas law:
PV = nRT
or
P = nRT/V where n is moles of any ideal gas, R is .0821 l-atm/mole-Kelvin, T is temperature in Kelvin ( 273 + °C) and V is volume in liters. This will give P in atmospheres.
Good luck!