Advertisement
Georgi_Benchev

Untitled

Nov 22nd, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.51 KB | None | 0 0
  1. package lekciq_3;
  2.  
  3. import javafx.scene.transform.Scale;
  4.  
  5. import java.util.Scanner;
  6.  
  7. public class task06 {
  8.     public static void main(String[] args) {
  9.         Scanner scanner = new Scanner(System.in);
  10.         int a = Integer.parseInt(scanner.nextLine());
  11.  
  12.         if (a < 100) {
  13.             System.out.println("Less than 100");
  14.         } else if (a <= 200) {
  15.             System.out.println("Between 100 and 200");
  16.         } else {
  17.             System.out.println("Greater than 200");
  18.         }
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement