Need help in making half adder

I cannot write the sketch for this half adder . Can someone help me to write this sketch . I will be glad ..thanks in advance . Its emergency .

This board is dedicated to educators and parents helping children learn STEAM remotely.

Are you asking someone to do your homework?

what have you tried? what have you learnt so far? do you know how to deal with the LCD, the buttons?

Yes i know , how to deal with lcd and buttons . But cant arrange the codes .

Give it a try. Show us what you've done so far

@newbiearduino07, your topic has been moved to a more suitable section of the forum.

Is the idea to make a series of adders totaling four bits or, just to add two stored four-bit numbers?

Make it 4 bit

A half adder adds 2 bits. Two half adders form a full adder that also can handle carries. That's not what you have been asked for.

You are asked to build an adder for 4 bit numbers. Is this part of a hardware (discrete logic) class or a software class?

Arduino workshop