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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!