C++ Playground - pattern for n number: Online Interpreter, Compiler & Editor | Sololearn