Much appreciated
[WORKING/HQ] Lots of SE Guides #6 [2019]
Started By voidwAker, Mar 29 2019 03:09 AM
#22
Posted 29 March 2019 - 08:31 PM
#24
Posted 29 March 2019 - 09:31 PM
#25
Posted 29 March 2019 - 09:38 PM
#26
Posted 29 March 2019 - 09:43 PM
#26
Posted 29 March 2019 - 09:43 PM
lets see
Scanner entrance = new Scanner(System.in); String nulled = entrance.nextLine(); if (nulled=="running"){ System.out.println("Nulled works well"); } else if (nulled=="attack"){ System.out.println("Nulled actually is under attack"); } else if (nulled=="offline") { System.out.println("nulled doesnt work"); } else { System.out.println("Please write "running", "attack" or "offline" if you want get answer"); } entrance.close();
Users browsing this thread: