Input Format
You do not need to read any input in this challenge.
Output Format
Print  to stdout.

hackerrank hello world in c++ problem solution

Hello World with c++ problem solution | HackerRank

#include <iostream>
using namespace std;

int main() {
    string greeting = "Hello, World!";
    cout << greeting << endl;
    
    return 0;
}

Second solution

#include <iostream>
using namespace std;

int main() {
    printf("Hello, World!");
    
    return 0;