Challenge: Hello, World!

Lab C++ Beginner 10 points

Write a program that prints exactly Hello, World!

Input

None.

Output

One line: Hello, World!

Example

Output

Hello, World!
Sample output available
Editor
C++

Hints

Use cout << "...";

Check the capital H and W, the comma and the exclamation mark.

Solution explanation

cout << sends the text between the quotes to the screen.

Show solution
#include <iostream>
using namespace std;

int main() {
    cout << "Hello, World!" << endl;
    return 0;
}
Output
Answer
HOME LABS COMMUNITY DASHBOARD