Question: Write a python program CSIS 152 - Program 4-Selection The table below lists the sound level in decibels for some common noites: NOISE Jackhammer Carhorn
CSIS 152 - Program 4-Selection The table below lists the sound level in decibels for some common noites: NOISE Jackhammer Carhorn Gas lawn mower Washing machine Refrigerator Quiet room Normal breathing Decibel level (dB 130 dB 110 dB 106 dB 70 dB 50 dB 40 dB 10 dB Input: a number indicating a decibel level or DONE to quit Processing / Output: Write a Python program that continues to ask the user for a number indicating a decibel level until they type DONE. If the decibel level matches one of the noises in the table EXACTLY, display a message containing only that noise. If the decibel level entered is BETWEEN the noises listed in the table, deply which noises the level is between Make sure that if the decibel level is lower or higher than these site in the table, it handles those appropriately also. Examples: User Input 70 30 5 160 DONE Output About the noise level of a Washing Machine Between the noise level of a Quiet room and Normal batea Quieter than Normal Breathing Noisier than a lackhammer O
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
