Answer:
Following are the program to this question:
#include <iostream>//defining header file
using namespace std;
void OR_gate()//defining a method OR_gate
{
bool a,b;//defining bool vaiable
cin>>a>>b;//input value
if(a or b)//use if block to check condition
{
cout<<"1";//print message
}
}
int main()//defining main method
{
OR_gate();//calling method OR_gate
return 0;
}
Output:
0
1
1
Explanation:
In the above program, a method "OR_gate" is declared, and inside the method two bool variable "a and b" is defined, which input the value from the user end.
In the next step, an if block is defined, that uses the or gate to check input value and print the value that is equal to 1, and inside the main method, it call the "OR_gate" method.
You may do all of the given options.
Thank You!
The resource allocation section of the test plan contains the information regarding the features to be tested in the test plan.
<h3>What is resource allocation?</h3>
The distribution and disbursement of the total disposable resources within an organization towards the different functions and processes in an organization is referred to as resource allocation.
The main functionality of a resource allocation section in a test plan is to portray the features of the test that will be conducted by the team of experts.
Hence, the functions of resource allocation in a test plan are as aforementioned.
Learn more about resource allocation here:
brainly.com/question/17837067
#SPJ1
Yes. If there is no effective communication in the workplace then nothing is going to be done.