관계연산자,증감연산자,논리연산자
//관계연산자
public class Exam_03_1 {
	public static void main(String[] ar) {
		int A = 10;
		int B = 20;
		
		boolean result = A==B;
		boolean result1 = A<=B;
		boolean result2 = A!=B;
		
		System.out.println(result);
		System.out.println(result1);
		System.out.println(result2);
	}
}
//증감연산자, 논리연산자
public class Exam_04 {
	public static void main(String[] ar) {
		int x=10;
		int y=20;
		boolean result;
		int result2;
		result2 = x+y;
		System.out.println(x+"+"+y+"="+result2);
		x=y=2;
		System.out.println("x=" + x++ + ", y=" + ++y);
		System.out.println("x=" + x + ", y=" + y);
		
		y=10;
		result=!(((x>y) || (y==x)) || ((x!=y)&&(x<y)));
		System.out.println(result);
		
		/* 내가 생각한 값
		 10+20=30
		 x=2 y=3
		 x=3 y=3

		!( ((f) || (f)) || ((t) && (t)));
		!(       f      ||     t      )          
		result=F
		 */
	}
}