The following table shows the approximate speed of sound in air, water, and stee
ID: 643445 • Letter: T
Question
The following table shows the approximate speed of sound in air, water, and steel.
create a application program that displays a menu allowing the user to select air, water, or steel. After the user has made a selection, he or she should be asked to enter the number of second the sound will travel in the selected medium =. The program should then display the distance the sound will travel.
Medium Speed
Air 1,100 feet per second
Water 4,900 feet per second
Steel 16,400 feet per second
I am trying to do this in microsoft visual studio Express 2013
Explanation / Answer
#include #include using namespace std; int main() { int choice; int distance; double amountOfTime; const double Air = 1100; const double Water = 4900; const double Steel = 16400; coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.