coding

there is a problem regarding the conversion of the pulses from the energy meter to units kindly  reply as soon as possible.

please send the complete and correct  program . .