Question: Write c program Write a program that interacts with the user like this: ( l ) Carbon monoxide ( 2 ) Hydrocarbons ( 3 )

Write c program Write a program that interacts with the user like this:
(l) Carbon monoxide
(2) Hydrocarbons
(3) Nitrogen oxides
(4) Nonmethane hydrocarbons
hs
Enter pollutant number>>
Enter number of grams emitted per mile>>0.35
Enter odometer reading>>40112
Emissions exceed permitted level of 0.31 grams/mile.
Use the table of emissions limits below to determine the appropriate message.
First 50,000 Miles
Second 50,000 Miles
carbon monoxide
hydrocarbons
nitrogen oxides
nonmethane hydrocarbons
3.4 grams/mile
0.31 grams/mile
0.4 grams/mile
0.25 grams/mile
4.2 grams/mile
0.39 grams/mile
0.5 grams/mile
0.31 grams/mile

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!