Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class Evaluation {
  4. public static void main(String[] args) {
  5. Scanner scanner = new Scanner(System.in);
  6. int input = Integer.parseInt(scanner.nextLine());
  7. if (input < 100){
  8. System.out.println("Less than 100");
  9. }
  10. else if (input > 200) {
  11. System.out.println("Greater than 200");
  12. }
  13. else {
  14. System.out.println("Between 100 and 200");
  15. }
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement