import java.util.Scanner; public class IsPrime2 { public static void main(String[] args) { int x = 13; if ( x == 2 ) { System.out.println("Prime"); } else if ( x == 3 ) { System.out.println("Prime"); } else if ( x == 5 ) { System.out.println("Prime"); } else if ( x == 7 ) { System.out.println("Prime"); } else { System.out.println("Not prime OR number out of range [1-10]"); } } }