public class LogicMethods { public static void main(String[] args ) { System.out.println("Logic Methods"); printIsLargeOrSmall(100) ; printIsLargeOrSmall(75); } private static void printIsLargeOrSmall (int number) { if( number > 99 ) if( number < 10 ) { System.out.println("The number is large " ) ; System.out.println("The number is small ") ; } } }