From 4706cf01481dd928eb665739cd24791424ee1ca9 Mon Sep 17 00:00:00 2001 From: John Tavner <60250176+john-lakeman@users.noreply.github.com> Date: Tue, 7 Apr 2020 05:00:04 +0000 Subject: [PATCH 1/3] Updating all questions --- fix-code-0/main.cpp | 3 ++- fix-code-1/main.cpp | 2 +- fix-code-2/main.cpp | 2 +- fix-code-3/main.cpp | 2 +- fix-code-4/main.cpp | 2 +- invent-code-0/main.cpp | 7 +++++++ invent-code-1/main.cpp | 1 + 7 files changed, 14 insertions(+), 5 deletions(-) diff --git a/fix-code-0/main.cpp b/fix-code-0/main.cpp index df5e772..0180e71 100644 --- a/fix-code-0/main.cpp +++ b/fix-code-0/main.cpp @@ -3,5 +3,6 @@ using namespace std; int main() { - cout<<"Hello "; cout <<"World!"; cout << endl; + // Write code here. + cout << "Texas A&M is better than UT. " << "Taxation is theft. " << "Epstein didn't kill himself." << endl; } diff --git a/fix-code-1/main.cpp b/fix-code-1/main.cpp index 8b51ed8..66d9e00 100644 --- a/fix-code-1/main.cpp +++ b/fix-code-1/main.cpp @@ -3,5 +3,5 @@ using namespace std; int main() { - cout << Hello; + cout << "Hello" << endl; } diff --git a/fix-code-2/main.cpp b/fix-code-2/main.cpp index e97dc08..66d9e00 100644 --- a/fix-code-2/main.cpp +++ b/fix-code-2/main.cpp @@ -3,5 +3,5 @@ using namespace std; int main() { - cout << "Hello" + cout << "Hello" << endl; } diff --git a/fix-code-3/main.cpp b/fix-code-3/main.cpp index b817b90..66d9e00 100644 --- a/fix-code-3/main.cpp +++ b/fix-code-3/main.cpp @@ -3,5 +3,5 @@ using namespace std; int main() { - cout >> "Hello"; + cout << "Hello" << endl; } diff --git a/fix-code-4/main.cpp b/fix-code-4/main.cpp index b7eb6e1..ae28587 100644 --- a/fix-code-4/main.cpp +++ b/fix-code-4/main.cpp @@ -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; } diff --git a/invent-code-0/main.cpp b/invent-code-0/main.cpp index befbd89..cc52d73 100644 --- a/invent-code-0/main.cpp +++ b/invent-code-0/main.cpp @@ -4,4 +4,11 @@ using namespace std; int main() { // Write code here. + cout << endl; + cout << "I graduated from TAMS in 2004." << endl; + cout << endl; + cout << "I play(ed) and eventually coach(ed) Rugby until COVID-19 shut us down." << endl; + cout << endl; + cout << "My parents/grandparents were carpenters, which I am enjoying as my newfound hobby." << endl; + cout << endl; } diff --git a/invent-code-1/main.cpp b/invent-code-1/main.cpp index befbd89..0180e71 100644 --- a/invent-code-1/main.cpp +++ b/invent-code-1/main.cpp @@ -4,4 +4,5 @@ using namespace std; int main() { // Write code here. + cout << "Texas A&M is better than UT. " << "Taxation is theft. " << "Epstein didn't kill himself." << endl; } From 5c4222caea2ad42fdb78fbb969dc295b5c0e184c Mon Sep 17 00:00:00 2001 From: John Tavner <60250176+john-lakeman@users.noreply.github.com> Date: Tue, 7 Apr 2020 05:03:44 +0000 Subject: [PATCH 2/3] Updating all questions --- fix-code-0/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fix-code-0/main.cpp b/fix-code-0/main.cpp index 0180e71..a955b47 100644 --- a/fix-code-0/main.cpp +++ b/fix-code-0/main.cpp @@ -4,5 +4,5 @@ using namespace std; int main() { // Write code here. - cout << "Texas A&M is better than UT. " << "Taxation is theft. " << "Epstein didn't kill himself." << endl; + cout << "Hello World!" << endl; } From 0f598dcb3e162c6c1017bf170a4ce8731ebde810 Mon Sep 17 00:00:00 2001 From: john-lakeman <60250176+john-lakeman@users.noreply.github.com> Date: Mon, 11 May 2020 20:49:09 +0000 Subject: [PATCH 3/3] Updating all questions --- invent-code-0/main.cpp | 4 ---- invent-code-1/main.cpp | 4 +++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/invent-code-0/main.cpp b/invent-code-0/main.cpp index cc52d73..c0917ec 100644 --- a/invent-code-0/main.cpp +++ b/invent-code-0/main.cpp @@ -4,11 +4,7 @@ using namespace std; int main() { // Write code here. - cout << endl; cout << "I graduated from TAMS in 2004." << endl; - cout << endl; cout << "I play(ed) and eventually coach(ed) Rugby until COVID-19 shut us down." << endl; - cout << endl; cout << "My parents/grandparents were carpenters, which I am enjoying as my newfound hobby." << endl; - cout << endl; } diff --git a/invent-code-1/main.cpp b/invent-code-1/main.cpp index 0180e71..9198b87 100644 --- a/invent-code-1/main.cpp +++ b/invent-code-1/main.cpp @@ -4,5 +4,7 @@ using namespace std; int main() { // Write code here. - cout << "Texas A&M is better than UT. " << "Taxation is theft. " << "Epstein didn't kill himself." << endl; + cout << "Texas A&M is better than UT. "; + cout << "Taxation is theft. "; + cout << "Epstein didn't kill himself." << endl; }