well it saids:

A 1.50L rubber balloon is filled with carbon dioxide gas at a temperature of 0.00C and a pressure of 1.00 atm. the density of the carbon dioxide gas under these conditions is 1.98g/L.

a)at 50.0C the balloon ha a vlomue of 1.78L. Calculate the carbon dioxide density at this temperature.

1 answer

I would use
p*molar mass CO2 = density(g/L) CO2*R*T