//TestAssertions.java

import java.util.Scanner;

public class TestAssertions
{
    public static void main(String args[])
    {
        //Assertions
        //To activate assertion statements when the program runs:
        //java -enableassertions TestAssertions
        //or just ...
        //java -ea TestAssertions
        //==========
        Scanner keyboard = new Scanner(System.in);
        System.out.print("\nEnter a positive integer "
            + "greater than or equal to 10: ");
        int n;
        n = keyboard.nextInt();
        assert n >= 10;
        //assert n >= 10 : n;
        System.out.println("The value input was " + n + ".");
    }
}

