Question: Write a c program that reads in the daily hazard index for each of the three pollutants and that identifies the smog level of the
Write a c program that reads in the daily hazard index for each of the three pollutants and that
identifies the smog level of the air as low or medium or first-stage alert or second-stage alert.
If all indices are less than or equal to
100, the smog level listed as low in forecasts. If any index rises above 100, the smog level
is listed as medium. If any index rises above 200, the smog level is listed as a first-stage
alert. If any index exceeds 275, the smog level is listed as a second-stage alert.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
