Answer:
See explaination
Explanation:
#include<iostream>
#include<map>
using namespace std;
bool contains(int arr[], int size){
map<int,int> nums;
for(int i=0; i< size; i++) nums[arr[i]]=1;
int product;
for(int i=0; i<size-1; i++){
for(int j=i+1;j<size;j++){
product = arr[i]*arr[j];
if (nums[product]==1) return true;
}
}
return false;
}
int main(){
int arr[] ={6,4,-3,-2,0,5};
cout<<boolalpha <<contains(arr,5)<<endl;
return 0;
}
True, as long as you know what they are and understand them then yes
i hope this helps
sincerely,
Zeus <span />
The most likely type of instruction that was executed by the CPU is: a jump instruction.
<h3>What is a CPU?</h3>
A central processing unit (CPU) can be defined as the main components of a computer because it acts as the brain of a computer and does all the processing and logical control.
This ultimately implies that, a central processing unit (CPU) is typically used by a computer to execute an instruction or set of instructions when powered on.
<h3>What is a
jump instruction?</h3>
In Computer technology, a jump instruction specifies an offset to a new place in the program sequence when processing an instruction or set of instructions in a computer.
Read more on CPU here: brainly.com/question/5430107
A tool in administrative tools which you should open if you want to view messages to troubleshoot errors is an: b. event viewer.
<h3>What is an operating system?</h3>
An operating system (OS) can be defined as a system software that's usually pre-installed on a computing device by the manufacturers, so as to manage random access memory (RAM), software programs, computer hardware and all user processes.
<h3>What is an
event viewer?</h3>
An event viewer can be defined as an administrative tool that is found in all versions of Windows Operating System (OS) which is designed and developed to enable administrators and end users in viewing the event logs of software application and system messages such as errors on a local or remote machine.
In this context, we can reasonably infer and logically deduce that an event viewer is a tool in administrative tools which you should open if you want to view messages to troubleshoot errors.
Read more on event viewer here: brainly.com/question/14166392
#SPJ1