Answer:
// Program is written in C++ Programming Language
// Comments are used for explanatory purpose
// Program starts here
#include<iostream>
using namespace std;
int main ()
{
// Declare Variable
int selection;
// Prompt user to make a selection of medium between air, water or steel.
cout<<"Make Selection"<<'\n'<<"Press 1 for Air"<<'\n'<<"Press 2 for Water"<<'\n'<<"Press 3 for Steel";
cin>>selection;
// Check for entry
if(selection == 1) {
cout<<"You selected Air"<<'\n';
cout<<"The distance travelled by sound wave in air is 1,125 feet in 1 second";
}
else if(selection == 2) {
cout<<"You selected Water"<<'\n';
cout<<"The distance travelled by sound wave in water is 4859 feet in 1 second";
}
else if(selection == 3) {
cout<<"You selected Steel"<<'\n';
cout<<"The distance travelled by sound wave in steel is 19554 feet in 1 second";
}
else
cout<<"Invalid Selection";
return 0;
}
Answer: it does – or perhaps appears to do – in the world.
Explanation:
sorry if am not right have a nice day lol
Hello there! Your answer would be A.
GUIs are Graphical user interfaces. Command prompts are unique to Windows operators, so your best option would be A since the question covers most GUIs.
Hope this helps, have a great day!
I’m not sure what you are saying
The answer is No. It doesn't program represent an algorithm in the strict sense. The process described will never terminate because the value of Count will never be 5. It doesn't not represent an algorithm and the process that has been described will never be terminate because the number will never be 5.