C++ Playground - for if 2 is dividing the root without remainder: Online Interpreter, Compiler & Editor | Sololearn