Answer:
Both Technicians are correct.
Explanation:
Remember that Ohm's Law its a relationship between Voltage (E), Current (I) and Resistance (R) in an electrical circuit. This relationship is defined by the following equation:

Each one of the letters could be called a variable. Now, also remember that the number of equations you have is equal to the number of variables unknown you could have.
In Ohm's Law you have 3 variables (E,I,R) and 1 equation. It means that you need to know 2 variables (Whatever 2 variables) to know the third.
Technician A says, in other words, that could calculate the Circuit current flow (I) knowing total circuit resistance (R) and total voltage (E). Note that Technician A knows 2 to 3 variables, then it's possible to use Ohm's Law with the following equation:

Technician B says, in other words, that could determine the unknown resistance (R) knowing total current (I) and source voltage (E). Once again, note that Technician B knows 2 to 3 variables, then it's possible to use Ohm's Law with the following equation:

It is concluded that both technicians are right.
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.
They use and perform a set of actions and programs that build on each other.