C++ Playground - count number of words present in a line: Online Interpreter, Compiler & Editor | Sololearn