Skip to content

Commit

Permalink
feat(3.4.1): Finished U3_L4_Activity_One
Browse files Browse the repository at this point in the history
  • Loading branch information
101zh committed Oct 13, 2023
1 parent c859dfd commit 0ec7113
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/main/java/Unit3/U3_L4_Activity_One.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package Unit3;

import java.util.Scanner;

public class U3_L4_Activity_One {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Enter a number");
int num = scanner.nextInt();

if (num >= 65 && num <= 100) {
System.out.println("False");
} else {
System.out.println("True");
}

scanner.close();
}
}

0 comments on commit 0ec7113

Please sign in to comment.