ACS712 current sensor

Good day Sir/Madam. I am a beginner to Arduino programming and I've got a project that needs some complicated codes. It is about measuring the current entering, and the voltage, as well as the power consumed by the air conditioning unit using Arduino uno, ACS712 current sensor, LCD 16X4 for the display, and a relay.I really really need your help. pls repond,,thank you

https://openenergymonitor.org/emon/buildingblocks/ac-power-introduction