A=1;B=1;C=0
A=1;B=0;C=1
A=1;B=0;C=0
A=0;B=1;C=0
Here the logic gates used are OR gate, AND gate. So, if we input values 0 and 1 to the OR gate, the output will be 1. This output along with another input 1 will be used as input for the AND gate. Thus, the final output is 1.