Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.io.*;
- import static java.lang.System.*;
- import java.util.Scanner;
- import java.lang.Math;
- public class Lesson_14_Activity_One {
- public static void main (String str []) throws IOException {
- Scanner scanner = new Scanner(System.in);
- int z;
- System.out.println("Enter an integer.");
- z = scanner.nextInt();
- if( !(z < 5) && !(z > 76)) {
- System.out.println("False");
- }
- else {
- System.out.println("True");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement