Answer the question
In order to leave comments, you need to log in
Please help. How to do it?
how to connect String a =sc.nextLine(); with if, so that after entering the word, execute the code in if would work?
Answer the question
In order to leave comments, you need to log in
String a =sc.next.Line();
if(a.equals("выполняй") {
// код;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question