beyondgrader.com Logo
DemoBrowseAboutTeamLogin

CO2 Air Quality

[email protected] // 1.0

Assume a variable named co2_ppm has already been set, representing the air's concentration of carbon dioxide (in parts per million). Based on this value, print a description of the air quality: "Bad" if the CO2 concentration is above 1500 (ppm), "Concerning" if it is above 1000 ppm, and "OK" otherwise.