Java Playground - nested if user input: Online Interpreter, Compiler & Editor | Sololearn