Ruby Playground - [C++] Collatz conjecture: Online Interpreter, Compiler & Editor | Sololearn