Answer:
You need to do this math yourself, because the molar masses can vary between classes and what table you look at. Additionally, I rounded between things myself, where you likely need to use significant figures to round. The smallest number of sigfigs is 3 in the question.
Additionally, I don't know what your volume is because of you pasting this question in.
Step-by-step explanation:
The Ideal Gas Law states that:
pressure * volume = moles * rate gas constant * temperature
The pressure is in atmospheres, which corresponds to the gas constant (R-value) of 0.08206 units blah blah blah.
You can fill the equation with what you know for now:
3 * volume = moles * 0.08206 * temperature
Using the mole formula, you can convert the 24.0 grams of CO2 to moles.
The molar mass of carbon is 12.011
The molar mass of oxygen is 15.999
12.011 + 15.999 * 2 = 44.009 grams/mole
Divide this from 24.0 grams to get the number of moles
24 / 44.009 = 0.545 moles
3 * volume = 0.545 * 0.08206 * temperature
Input your volume (don't know what you put) and use Algebra to solve.
This will give you your temperature in Kelvin.
Subtract 273 to find Celsius and check your units.