subject

The speed of sound (java project. make it easy to understand. i'm a beginner at this. i believe we are supposed to use a switch or if/else) the speed of sound depends on the material the sound is passing through. below is the approximate speed of sound (in feet per second) for air, water and steel: air: 1,100 feet per second water: 4,900 feet per second steel: 16,400 feet per second write a program class thespeedofsound that asks the user to enter �air�, �water�, or �steel�, and the distance that a sound wave will travel in the medium. the program should then display the amount of 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 watert 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,400the user should enter an "a" for "air", a "w" for "water, and an "s" for steel and the distance. use the switch statement as part of your solution. display your answer using the printf statement.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
What must you do before formatting a paragraph?
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
Hey so i was just trying out some game hacks so i took a paste from online and built it in my visual studio and then suddenly my computer was working or clicking on stuff on its own am i hacked?
Answers: 1
question
Computers and Technology, 23.06.2019 18:50
What is transmission control protocol/internet protocol (tcp/ip)? software that prevents direct communication between a sending and receiving computer and is used to monitor packets for security reasons a standard that specifies the format of data as well as the rules to be followed during transmission a simple network protocol that allows the transfer of files between two computers on the internet a standard internet protocol that provides the technical foundation for the public internet as well as for large numbers of private networks
Answers: 2
question
Computers and Technology, 23.06.2019 23:30
What are "open-loop" and "closed-loop" systems
Answers: 1
You know the right answer?
The speed of sound (java project. make it easy to understand. i'm a beginner at this. i believe we...
Questions
question
Mathematics, 02.09.2020 01:01
question
Mathematics, 02.09.2020 01:01
question
Mathematics, 02.09.2020 01:01
question
Mathematics, 02.09.2020 01:01
Questions on the website: 13722359