From d129dbd1676c118cd14b5eb6a027681d1677e095 Mon Sep 17 00:00:00 2001 From: therocklad <56664919+therocklad@users.noreply.github.com> Date: Thu, 24 Oct 2019 17:55:32 +0530 Subject: [PATCH] Create day01.cpp --- C++/day01.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 C++/day01.cpp diff --git a/C++/day01.cpp b/C++/day01.cpp new file mode 100644 index 0000000..842e419 --- /dev/null +++ b/C++/day01.cpp @@ -0,0 +1,16 @@ +#include + +using namespace std; + +int main() { + string inputString; // declare a variable to hold our input + getline(cin, inputString); // get a line of input from cin and save it to our variable + + // Your first line of output goes here + cout << "Hello, World." << endl; + + // Write the second line of output + cout << inputString << endl; + + return 0; +}