Answer:
// here is code in c++
// headers
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
int n,num;
double sum=0, avg;
long long int prod=1;
cout<<"Enter value of N:";
// read value of N
cin>>n;
cout<<"enter "<<n<<" numbers:";
// read the N numbers
for(int x=0;x<n-1)
{
cin>> num;
// calculate sum of all
sum=sum+num;
calculate product of all
prod=prod*num;
}
// print sum
cout<<"sum of all "<<n<<" numbers is: "<<sum<<endl;
// print product
cout<<"product of all numbers is : "<<prod<<endl;
print average
cout<<"average of all "<<n<<" numbers is: "<<sum/n<<endl;
return 0;
}
Explanation:
Read the value of n from user.Then ask user to enter n numbers. Then calculate sum of all entered number and their product.After this calculate the average of entered number by dividing sum with n.Print sum, product and average of n numbers.
Output:
enter value of N:6
enter 6 numbers:1 2 3 4 5 6
sum of all 6 numbers is: 15
product of all numbers is : 120
average of all 6 numbers is: 2.5
The question is incomplete as there is no options given;
the complete question with options is;
<span>Which column or columns in each table should be defined as the primary key?
</span>a.Orders: OrderID; OrderLineItems: OrderID, OrderSequence, andProductID; Products: ProductID and ProductName
b.Orders: OrderID; OrderLineItems: OrderID and OrderSequence;Products: ProductID
c.Orders: OrderID and OrderDate; OrderLineItems: OrderID andOrderSequence; Products: ProductID
d.Orders: OrderID; OrderLineItems: OrderID; Products: ProductID
Answer:
the correct option from the given options is, "b",Orders: OrderID; OrderLineItems: OrderID and OrderSequence;Products: ProductID
when you are going to create a primary key, <span>In Object Explorer, right-click the table to which you want to add a unique constraint, and then click Design. In Table Designer tab, click the row selector for the database </span>column<span> you want to define as the </span>primary key<span>.</span>
The positive impact are :
It can work for a long time.
It can solve millions of calculations in a few seconds and save huge amount of data.
It helps to know about technology and other things.
It can be carry from one place to another place.
The negative impacts are :
It may creates health and unemployment problems.
It is useless without electricity.
It have no self thinking power.
It required a trained person to do work
Answer:
presentation: "How to stop screwing yourself over" A ted talk by Mel, an American television host. She constructively used presentation skills such as clear verbal communication, humor, story telling and of course, good preparation and research to present in the video, the video has more than 22 million views.
Explanation:
verbal communication: She communicated in a clear and concise language to pass her message across to the audience. This is a vital skill for a good presentation.
Humor: She was able to use humor to lighting the presetation atmosphere without derailing from the main point. Effective use of humor will increase audience attention during the presentation.
story telling: Everybody loves story, when stories that are related to the main point of the presentation are shared, it will instill the main of point of the presentation in the mind of the audience.
Good preparation and research: Adequate preparation is key to the success of any presentation. It allows the speaker to understand his or her audience before the actual presentation as well as get all need resources for the presentation.