Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Write a python program image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

=+8 How do mergers differ from other investment decisions?

Answered: 1 week ago

Question

5. What are the other economic side effects of accidents?

Answered: 1 week ago