the answer to this was men
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.
A Would be the answer, Sir.!
Answer: To be useful for most household applications, DC voltage is passed through a step-down transformer.
Explanation: Voltage coming through AC or DC outlets is typically far too high for most household appliances to handle, so the current is passed through a step-down transformer to reduce the voltage to a usable level.
R=0 of the amp meter so it can be placed in the circuit