my question is that how can i space in these three contents that i printed in screen | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

my question is that how can i space in these three contents that i printed in screen

#include<iostream> using namespace std; int main() { cout<<" HUSSAIN !"; cout<<" talha !"; cout<<" hassan !"; }

3rd Feb 2017, 2:05 PM
Hassan Khan
Hassan Khan - avatar
1 Answer
+ 1
you mean a new line? than its #include<iostream> using namespace std; int main() { cout << " HUSSAIN !" <<endl; cout << " talha !" <<endl; cout << " hassan !" <<endl; }
3rd Feb 2017, 2:45 PM
R4xx4r
R4xx4r - avatar