Hackerrank | 30 days of code | Day 0-Solution in c++| Hello-World-hackerrank-Solution-in-c++


Hackerrank | 30 days of code | Day 0-Solution in c++| Hello-World-hackerrank-Solution-in-c++

Hackerrank Solution 30-days-of-code

https://www.hackerrank.com/challenges/30-hello-world/problem
Day 0: Hello, World.
#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; }

Post a Comment

0 Comments