Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating all assignments #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion fix-code-0/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
using namespace std;

int main() {
cout<<"Hello "; cout <<"World!"; cout << endl;
// Write code here.
cout << "Hello World!" << endl;
}
2 changes: 1 addition & 1 deletion fix-code-1/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
using namespace std;

int main() {
cout << Hello;
cout << "Hello" << endl;
}
2 changes: 1 addition & 1 deletion fix-code-2/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
using namespace std;

int main() {
cout << "Hello"
cout << "Hello" << endl;
}
2 changes: 1 addition & 1 deletion fix-code-3/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
using namespace std;

int main() {
cout >> "Hello";
cout << "Hello" << endl;
}
2 changes: 1 addition & 1 deletion fix-code-4/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
using namespace std;

int main() {
cout << "My GitHub username is [fill in your username here]!";
cout << "My GitHub username is john-lakeman!" << endl;
}
3 changes: 3 additions & 0 deletions invent-code-0/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ using namespace std;

int main() {
// Write code here.
cout << "I graduated from TAMS in 2004." << endl;
cout << "I play(ed) and eventually coach(ed) Rugby until COVID-19 shut us down." << endl;
cout << "My parents/grandparents were carpenters, which I am enjoying as my newfound hobby." << endl;
}
3 changes: 3 additions & 0 deletions invent-code-1/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ using namespace std;

int main() {
// Write code here.
cout << "Texas A&M is better than UT. ";
cout << "Taxation is theft. ";
cout << "Epstein didn't kill himself." << endl;
}