class Exer03
{
	public static void main(String[] args) 
	{
		//1)�����д��룬���������ָ����������
		int x = 4;
		int y = 1;
		if (x > 2) {
			   if (y > 2) // ʡ��{} ֻ��һ�����
					System.out.println(x + y);
			   // ���������
			   
			   System.out.println("lovecoding");
		} else
			   System.out.println("x is " + x);


		boolean b = true;
		//���д��if(b=false)�ܱ���ͨ��������ܣ�����ǣ�
		if(b = false) 	 //���飺if(!b)
			System.out.println("a");
		else if(b)
			System.out.println("b");
		else if(!b)
			System.out.println("c");
		else
			System.out.println("d");
	}
}