啊哈添柴挑戰Java1022. 收集瓶蓋贏大獎

啊哈添柴——挑戰

1022. 收集瓶蓋贏大獎

在這裏插入圖片描述

import java.util.Scanner;

/**
 * @author yinglongwu
 */
public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		if (x>=10||y>=20) {
			System.out.println(1);
		} else {
			System.out.println(0);
		}
		
		sc.close();
	}

}

在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章