Java Playground - cube square with newton method: Online Interpreter, Compiler & Editor | Sololearn