Merge three different Arduino codes into one code

Job ID: 31110520

Budget: ₹600 – ₹1,500 INR

I have three different Arduino codes of relay, Ultrasonic sensor and motorized ball valve. The objective is to merge all the codes and work under same Arduino UNO and serial monitor.