Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
Ok. cout << "sum=" This part outputs sum= Then <<sum <<endl; outputs the variable sum. So now we have sum=(sum) <<endl; this part makes sure that you continue into the next line.
17th Aug 2018, 7:52 AM
Paul Grasser
Paul Grasser - avatar