Header Ads Widget

Say Hello, World! With CPP - Hacker Rank Solution

On this Content
  • Objective
  • Input Format :
  • Output Format :
  • Sample Output :
  • Solution :

Objective

This is a simple challenge to help you practice printing to stdout. You may also want to complete Solve Me First in C++ before attempting this challenge.

We're starting out by printing the most famous computing phrase of all time! In the editor below, use either printf or cout to print the string Hello, World! to stdout.

Input Format :

You do not need to read any input in this challenge.

Output Format :

print the string Hello, World!

Sample Output :

Hello, World!

Solution :


//Say Hello, World! With C++ - Hacker Rank Solution
#include <iostream>
using namespace std;
int main()
{
    cout<<"Hello, World!";
    return 0;
}

Disclaimer :-

the above hole problem statement is given by hackerrank.com but the solution is generated by the TechDark authority if any of the query regarding this post or website fill the following contact form thank you.

Post a Comment

0 Comments