Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
515 B
1
Indexable
Never
package Conditional_Statements_Advanced___Lab;

import java.util.Scanner;

public class Number_In_Range_06 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        double value = Double.parseDouble(scanner.nextLine());

        if (value == 0) {
            System.out.println("No");
        } else if (value <= 100) {
            System.out.println("Yes");
        } else if (value >= 100) {
            System.out.println("No");
        }
    }
}