221k views
1 vote
Write a program that displays a menu allowing the user to select air, water, or steel, and then has the user enter the number of feet a sound wave will travel in the selected medium. The program should then compute and display (with four decimal places) the number of seconds it will take. Your program should check if the user enters a valid menu choice, if not, it should terminate with an appropriate message.

1 Answer

3 votes

Answer:

yooooooooooooooooooooo

Step-by-step explanation:

User Pbarney
by
6.1k points