Logic gates

Half adder

Click the A and B switches on the left to add two bits. The result shows up in Sum and Carry on the right.