summaryrefslogtreecommitdiff
path: root/hw2/helloYou.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hw2/helloYou.cpp')
-rw-r--r--hw2/helloYou.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw2/helloYou.cpp b/hw2/helloYou.cpp
index 98f06ce..8f0dbbb 100644
--- a/hw2/helloYou.cpp
+++ b/hw2/helloYou.cpp
@@ -10,7 +10,7 @@ using namespace std;
int main() {
string name;
cout << "Please enter your name below:\n";
- cin >> name;
- cout << "Hello, " << name << "!";
+ cin >> name; // Takes user input
+ cout << "Hello, " << name << "!"; // Prints user's input
return 0;
} \ No newline at end of file