Skip to content

Commit 4fde6eb

Browse files
committed
Fixed quiz readme.md.
1 parent cbbc875 commit 4fde6eb

File tree

2 files changed

+8
-6
lines changed
  • Section05-Structure_of_a_CPP_Program

2 files changed

+8
-6
lines changed

Section05-Structure_of_a_CPP_Program/section5_quiz/readme.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
- [ ] `#include <iostream>` statement
2323
7. What will the following code display?
2424

25-
```c++
26-
cout << "Larry"; cout << "Moe"; cout << "Curly";
27-
```
28-
`LarryMoeCurly`
25+
```c++
26+
cout << "Larry"; cout << "Moe"; cout << "Curly";
27+
28+
LarryMoeCurly
29+
```
30+
2931
8. The C++ main function must return _____ when the program terminates successfully.
3032
- [x] 0
3133
- [ ] "Success"

Section05-Structure_of_a_CPP_Program/section5_source_code/BasicIO/main.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ using namespace std;
77

88
int main() {
99

10-
// cout << "Hello world!" << endl;
11-
cout << "Hello world!";
10+
cout << "Hello world!" << endl;
11+
// cout << "Hello world!";
1212

1313
// cout << "Hello";
1414
// cout << "World" << endl;

0 commit comments

Comments
 (0)