Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.sound.midi.Soundbank;
- import java.util.Scanner;
- public class NumberN {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- System.out.println("please enter N");
- int n = scanner.nextInt();
- if (n>=100 && n<=200) {
- System.out.println("true");
- }
- else
- {
- System.out.println("false");}
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement