0
How can we give space between two line statement?
i.e Hello world welcome to coding
2 Respuestas
+ 2
cout << "Hello world\nwelcome to coding";
or
cout << "Hello world" << endl;
cout << "welcome to coding";
0
use "endl" line manipulator...which is a newline
#include<iostream>
#include<cstdlib.h>
using namespace std;
int main()
{
cout<<"Hello world"<<endl;
cout<<endl;
cout<<"welcome to coding";
return 0;
}