题解 | #牛牛的判断题#
牛牛的判断题
http://www.nowcoder.com/practice/51a046c13b3c4b64a07d69903a3cd4cf
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x=sc.nextInt(); int l=sc.nextInt(); int r=sc.nextInt(); if(x>=l&&x<=r) { System.out.println("true"); }else{ System.out.println("false"); } } }