58.1k views
5 votes
Write a program that ask the user to enter air water or Steele and the distance that a sound wave will travel in the medium the program should then display the amount of the time it will take you can calculate the amount of time it takes sound to travel in air with the following formula time = distance/1,100 you can calculate the amount of time it takes sound to travel in water with the following formula time = distance/ 4,900 you can calculate the amount of time it takes sound to travel in steel with the following formula time = distance/16,400

User SushiGuy
by
7.8k points

1 Answer

3 votes
I might be able to do this but I'd have to just send you the python code for you to run on your own.

Also, what should the distance be in?

I can get it to you in an hour.
User Nicolas Del Valle
by
7.5k points