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; }
Answer:
A table with sample values
A chart with sample values
Explanation:
I think <span>Dances with Wolves</span>
Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
int n;
double average,sum=0,x;
cout<<"enter the Value of N:";
// read the value of N
cin>>n;
cout<<"enter "<<n<<" Numbers:";
// read n Numbers
for(int a=0;a<n;a++)
{
cin>>x;
// calculate total sum of all numbers
sum=sum+x;
}
// calculate average
average=sum/n;
// print average
cout<<"average of "<<n<<" Numbers is: "<<average<<endl;
return 0;
}
Explanation:
Read the total number from user i.e "n".Then read "n" numbers from user with for loop and sum them all.Find there average by dividing the sum with n.And print the average.
Output:
enter the Value of N:5
enter 5 Numbers:20.5 19.7 21.3 18.6 22.1
average of 5 Numbers is: 20.44
Clickstream tracking tools collect data on customer activities at websites- true.
<h3>
what is the website?</h3>
- A website, often known as a website, is a collection of web pages and associated material that is published on at least one web server and given a shared domain name.
- The World Wide Web is the aggregate name for all publicly accessible websites.
- A company's internal website for its workers is an example of a private website that can only be viewed via a private network.
- Most websites focus on a single subject or objective, including news, education, business, entertainment, or social networking.
- The navigation of the website, which frequently begins with a home page, is aided by hyperlinks between web pages.
To learn more about website, refer to the following link:
brainly.com/question/9060926
#SPJ4