Recent Post

Day 0: Hello, World.cpp-HackerRank

Problem- In this challenge, we review some basic concepts that will get you started with this series. You will need to use the same (or similar) syntax to read input and write output in challenges throughout HackerRank. 

Solution-

#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main()
{

    string str; 

    getline(cin,str); 
    
    cout << "Hello, World." << endl;
    cout << str <<endl;
    return 0;
}




Comments

Popular posts from this blog

Caesar Cipher.c-HackerRank

Bon Appétit.c-HackerRank

Electronics Shop.c-HackerRank