From e2ab34e60f544d9d6902fe3eb8e0947009234955 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 9 Sep 2022 15:22:01 -0600 Subject: added comments --- hw2/helloYou.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw2/helloYou.cpp') 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 -- cgit v1.2.3