0
I tried to change the basic code hello world to-"hello world! "" how are you";but the out put didn't showed any gap between both sentences.. Why?
6 Respuestas
+ 1
just type "\n" after the exclaimation mark of hello world (without quotes)
0
\n means new line
you can also type "cout<<endl" to get to next line
0
Ok
0
It is still showing error
0
just try pasting this crap
cout<<"hello world!!\n"<<"how are you";
0
cout<<"hello world! how are you"; for the gap
cout<<"hello world! \n how are you"; to get both sentences in different lines