Answer:
The program in C++ is as follows:
#include <iostream>
using namespace std;
void display(int array_test [], int n){
for(int i = 0; i<n;i++){
cout<<array_test[i]<<" "; }
}
int main(){
int n;
cin>>n;
int array_test[n];
for(int i = 0; i<n;i++){
cin>>array_test[i];
}
display(array_test,n);
return 0;
}
Explanation:
This defines the display function
void display(int array_test [], int n){
This iterates through the array
for(int i = 0; i<n;i++){
This prints each element of the array
cout<<array_test[i]<<" "; }
}
The main begins here
int main(){
This declares n as integer; n represents the length of the array
int n;
This gets input for n
cin>>n;
This declares the array
int array_test[n];
The following iteration gets input for the array
for(int i = 0; i<n;i++){
cin>>array_test[i];
}
This calls the display function to display the elements of the array
display(array_test,n);
return 0;
}
Answer:
<h2>A bug in a computer is refered to as a "computer virus" its where certain things on the computer or apps on it aren't working like they were designed to. </h2>
Explanation:
<h2>Hope this helps:)!</h2>
A primary key is the answer. =)
Most presentations use text: at a minimum. Texts is a supportive clue of the topic that is being under discussion during the presentation. It must be very concise and precise, because all the main content is usually represented orally by a speaker. Actually, of the basic recommendations to create a Powerpoint Presentation is to avoid using a lot of text because it heaps the whole work up.
Answer:
false
Explanation:
a PC needs to give a silent noise or better still no noise when it is being powered. It could be a problem within the coil in the power supply unit or a graphics card and the noise changes volume when a certain task is performed on it.
The two main causes of whinning noise in a computers are capacitors squealing and coil whinning.