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
Answer:
sorry but there is not enough information to complete this
Explanation:
years = int(input("Enter the # of years: "))
print("You are "+str(years*365)+" days old")
I wrote the code in python 3.8. I hope this helps!
Answer: (B) Legal hold
Explanation:
As being a security director, the security director are approached to solidify a server that run the red hat enterprise server the 5.5.
The servers are being utilized as DNS (Dynamic host service) and the server time. This is not utilized as the database, print server and the web server. There is no particular remote associations with the server.
The window of the command will be given the root accessing. Then, it provide the associated by means of a protected shell with the access root in the system.