Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Misho {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- int Num = Integer.parseInt(scanner.nextLine());
- if(Num<100){
- System.out.println("Less than 100");
- }else if(Num<200){
- System.out.println("Between 100 and 200");
- }else{
- System.out.println("Greater than 200");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement