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:
The correct option is D: Control Bus
Explanation:
A control bus is usually used by the Central Processing Unit to communicate with all the devices that are connected or contained within a computer. This connections are usually done via physical connections such as printed circuits or cables. It is also called a Computer bus and helps in coordinating activities between the connected devices.
Subdirectory
Have a great day! c:
The effectiveness of using thicker bags are:
- It has the lowest environmental impact in terms of any other disposable bag.
- It can be used three to six more times.
- It is environmentally sustainable.
<h3>What is the effect of thicker plastic bags have on the environment?</h3>
The use of plastic bags is known to have some form of detrimental effects on the such as animal choking, pollution, and others.
Conclusively, Note that thicker bags needs a lot of plastic to be able to produce it and it goes to waste even if a person do not use it again.
Learn more about environment from
brainly.com/question/17413226
Answer:
Explanation:
web server= stores text, images, and other media that make up a website
email server= stores and exchanges messages
Proxy server= filters content and stores data for faster access
FTP server= stores and provides files for download