Skip to content
Open
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
16 changes: 16 additions & 0 deletions C++/day01.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <iostream>

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;
}