Java, Combine two strings into one if statement?
I am trying for making it so if your user inputs Sure OR yes it affirms something different thene after they input not any or Simply no.This will be what i’ve so a long way: in the event (yes.equals(“yes”)) System.out.println(“Good”); in addition System.out.println(“Bad”); I want to cause it to something …