clear // // // //Variable declaration lamda=1.55 //wavelength(micro m) //Calculation Eg=1.24/lamda //band gap(eV) //Result printf("\n band gap is %0.3f eV",Eg)