Answer:
The program written in C++ is as follows'
#include<iostream>
using namespace std;
int main()
{
string names[3];
cout<<"Please enter three names: "<<endl;
for (int i = 0; i< 3;i++)
{
cin>>names[i];
}
for (int i = 2; i>= 0;i--)
{
cout<<names[i]<<endl;
}
return 0;
}
Explanation:
This line declares an array for 3 elements
string names[3];
This line prompts user for three names
cout<<"Please enter three names: "<<endl;
This following iteration lets user input the three names
for (int i = 0; i< 3;i++) { cin>>names[i]; }
The following iteration prints the three names in reverse order
for (int i = 2; i>= 0;i--) { cout<<names[i]<<endl; }
To measure the pollution of a particular river, one must take the sample of the river and take the sample of pure water, then draw the conclusion, it will tell the amount of pollution in the river water.
<h3>What is pollution?</h3>
Pollution is the mixing of unwanted or harmful things in any substance or compound.
Water pollution is the mixing of toxics and chemicals in water.
Thus, to measure the pollution of a particular river, one must take the sample of the river and take the sample of pure water, then draw the conclusion, it will tell the amount of pollution in the river water.
Learn more about pollution
brainly.com/question/23857736
#SPJ1
Answer:
Computer is an example of electronic device.
Answer:
Type right under my comment
Explanation:
Look in comments