+ 2
using cout
How to make outputs on different lines using cout
2 Respuestas
+ 13
cout<<something<<endl;
or
cout<<something<<"\n";
0
and if you want to print some strings, you can put \n with the string where u want to end the line and start a new line
eg.
cout<<"This is first line.\n"<<"This is second line";