clear //Initialization i1=8 //current in Amp i2=1 //current in Amp i3=4 //current in Amp //Calculation i4=i2+i3-i1 //current in Amp //Results printf("\n Magnitude, I4 = %d A",i4)