// 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];
Answer:
List, Cycle, Relationship, Pyramid.
Explanation:
100%
Answer:
C. Sending the data using public-key encryption
Explanation:
Encryption is the only choice that provides security.
The following tiny computer app that is designed to be useful but could cause more harm than good is Sys file
<h3>What is a Sys file?</h3>
This refers to the system file that is in operating systems and contains settings and variables that can make changes to the operating system.
Hence, we can see that if a user decides to tamper with the sys file on their operating system- either Microsoft DOS or Windows Operating Systems, this can lead to irreparable damages.
Read more about sys file here:
brainly.com/question/14364696
#SPJ1
Answer:
It's the <u><em>power supply</em></u>
Explanation:
The power supply is what essentially enables the computer to operate. It is able to do that by converting the incoming alternating current (AC) to direct current (DC) at the correct wattage rating that is required by the computer to function. The power supply is a metal box that is generally placed in the corner of the case.