0

Working with Variable Accepting User Input Try me out

What is the use of the endl? There seems to be no difference with the output whether or not it is there.

11th Aug 2016, 9:04 PM
bobby lam
bobby lam - avatar
2 Antworten
+ 5
Endl means basically "end of line". So when its not there, your later output will continue in the same line.
11th Aug 2016, 10:00 PM
Piotr Sarnowski
0
or '\n' its the same
12th Aug 2016, 4:37 AM
Rafael Marroquin
Rafael Marroquin - avatar