//variable initialization RestEnergy=0.51 //rest energy of electron (Mev) //calculation of minimum energy of a gamma ray photon which is required to produce an electron positron pair E=2*RestEnergy; //minimum energy of gamma ray photon (Mev) printf("\nMinimum energy required = %.2f Mev",E);