public class ThirdAngle{public static int otherAngle(int angle1,int angle2){return 180-angle1-angle2;}}
public class ThirdAngle {public static int otherAngle(int angle1, int angle2) {return 180-angle1-angle2;}}- public class ThirdAngle{public static int otherAngle(int angle1,int angle2){return 180-angle1-angle2;}}