SUMMING CHECKBOX VALUES

Hi, can anyone help me with code to sum checkbox values when checked?
thanks

Add more details please