Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
553 B
36
Indexable
Never
import com.sun.security.jgss.GSSUtil;

import java.util.Locale;
import java.util.Scanner;

public class demo {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        //число
        //Yes -> число >= - 100 и число <= 100 и число != 0
        int number = Integer.parseInt(scanner.nextLine());
        if(number >= -100 && number <= 100 && number != 0){
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }

    }
}