// Variable to keep track of array size
int length = 0;
// Array itself
int array[] = {};
// while loop will take input in the array until a negative number is entered
while(input>=0){
stdin = new Scanner(System.in);
array[length] = stdin;
length +=1;
}
// int variable to terminate while loop
int i =0;
// keep track of index of output array
int y =0;
while(arr[i] != length){
// making output array
int output[]={}; bool flag;
// put the element in out put array considering if it the desired one
output[y] = array [i];
// Now check if it was the desired?
for(int z=1;z<=length;z++){
if(array[i+z]!=output[y]){
flag = true;
}
else
{
output[y]=0;
y+=1;
}
if(array[i+z+1]=output[y] && flag == true){
output[y] = array[i];
y+=1;
}
}
//output the array
for(int o=0;o<y;o++)
System.out.println(output[o];
Do these questions have given answers already?
You have to go to where you first began the SmartArt then click on it to correct it. Or just double tap it and it should let you
Answer: (B) Router
Explanation:
A router is one of the type of virtual and the physical networking device which helps in forwarding the message in the form of data packets in the computer system.
- The main function of the router is that it sends the message over the internet in the form of email and web page.
- The router sending the data packets by assigning each device a local internet protocol address in the networking.
According to the given question, the router is refers to the Device-B so that it can communicate in normal circumstances in workstation. Therefore, Option (B) is correct.
<span>The answer to your question is D. both A and C</span>