+ 3
Some times we use (cout<<"/n" <<"/n" ; ) why do we use /n double time ?
3 Réponses
+ 11
\n equals a new line.
two \n equals two new lines.
It is easier to write cout << "\n\n"; than cout << " \n" << "\n" ; it is the same.
+ 4
You could have stuff bw the lines breaks:
cout<<"something\nsomething else\nanotherthing";
+ 1
We use \n two times to leave a blank line.