C++ Playground - diamond pattern using for loop: Online Interpreter, Compiler & Editor | Sololearn