Design a logic gate
A gate is defined as a digital circuit that follows a some logical relationship between the input and output voltages. It is a digital circuit that allows a signal to pass as a stop, it is called a gate. Logical gates are building blocks in digital-electronics. They are used in digital electronics to change the voltage level (input voltage) to another (output voltage) according to some logical instruction that relates them. A logic gate can have one or more inputs, but it only has one output. The relationship between the possible values of the input and output voltage is expressed in the form of a truth table called a table or a combination table. The table of values of a logic gate is a table that shows all the input and output possibilities for the logic gate. He invented a different kind of algebra based on binary nature in logic, this algebra of logic called ALGEBRA BOOLEAN.