C++ Playground - sum by loop against sum by recursion: Online Interpreter, Compiler & Editor | Sololearn