diff --git a/30 Days of Code/Day 00/HelloWorld.cpp b/30 Days of Code/Day 00/HelloWorld.cpp new file mode 100644 index 0000000..60d076d --- /dev/null +++ b/30 Days of Code/Day 00/HelloWorld.cpp @@ -0,0 +1,15 @@ +int main() { + // Declare a variable named 'input_string' to hold our input. + string input_string; + + // Read a full line of input from stdin (cin) and save it to our variable, input_string. + getline(cin, input_string); + + // Print a string literal saying "Hello, World." to stdout using cout. + cout << "Hello, World." << endl; + + // this line print the input string. + cout<