C++ Playground - sum elements separtely with odd & even subscript: Online Interpreter, Compiler & Editor | Sololearn