clc // // // //Variable declaration muwater=0.8660 //Refractive index of water //Calculations ip=(180/%pi)*(atan(muwater)) r=90-ip //Result printf("\n The Angle of Refraction is %2.2f Degrees",r)