//if֧ṹϰ
//if  else ֧ṹϰ
import java.util.Scanner;

class StructrueIf{
	public static void main(String[] args){
	Scanner input=new Scanner(System.in);
	System.out.println("һݣ");
	int x = input.nextInt();

//	int x = 10;
	if(x == 10){
		System.out.println("x=10");
	}
	if(x == 20){
		System.out.println("X=20");
	}
	else{
	System.out.println("ʵ x = "+x);	
	}
	
	}
}

add StructrueIf.java