Say “Hello, World!” With C++ – Hacker Rank Solution

Say "Hello, World!" With C++ - Hacker Rank Solution
Say “Hello, World!” With C++ – Hacker Rank 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!


Say “Hello, World!” With C++ – Hacker Rank Solution

#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
    printf("Hello, World!");
    return 0;
}

Disclaimer: The above Problem (Say “Hello, World!” With C++ ) is generated by Hackerrank but the Solution is Provided by Chase2Learn. This tutorial is only for Educational and Learning purposes. Authority if any of the queries regarding this post or website fill the following contact form thank you.

Leave a Comment