-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathline_break.cpp
More file actions
52 lines (45 loc) · 1.14 KB
/
Copy pathline_break.cpp
File metadata and controls
52 lines (45 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// ================================================
// * Language: C++ / Cpp
// * Topic: Line Break
// ===============================================
#include <iostream>
using namespace std;
int main(){
cout<<"Hello Wrold\n";
cout << "Hello Wrold 2.0 \n";
return 0;
}
// ===================== line Break 2nd Option==========================
#include <iostream>
using namespace std;
int main(){
cout <<"Hello ! this is 2nd Option";
cout<< endl;
cout<<"Now see output";
cout<< endl;
return 0;
}
#include <iostream>
using namespace std;
int main(){
cout <<"Hello ! this is 2nd Option";
cout<< endl;
cout<<"Now see output";
cout<< endl;
return 0;
}
// ===================== line Break 3rd Option==========================
#include <iostream>
using namespace std;
int main(){
// cout<< "Hi ! It's a 3rd option"<<endl;
cout<<"Hi It's a 3rd option"<<endl;
return 0;
}
// ===================== line Break 4th Option ==========================
#include <iostream>
using namespace std;
int main(){
cout<<"Hi ! It's a 4th option of line break" <<"It was 2nd line " <<endl;
return 0;
}