题解 | #判断闰年#

牛牛的判断题

http://www.nowcoder.com/practice/51a046c13b3c4b64a07d69903a3cd4cf

import java.util.Scanner;
public class Main{
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x = scanner.nextInt();
        int l = scanner.nextInt();
        int r = scanner.nextInt();
        if(x >= l && x <= r){
            System.out.print("true");
        }else{
            System.out.print("false");
        }
    }
}

全部评论

相关推荐

不愿透露姓名的神秘牛友
06-30 18:19
点赞 评论 收藏
分享
不愿透露姓名的神秘牛友
07-03 16:22
点赞 评论 收藏
分享
评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务