> if (input1=='r'&&input2=='g')> System.out.println(" rg");if ( input1.equals('r') && input2.equals('g') ){System.out.println(" rg");}