Print Hello World

Practice this coding question on Coding Gurukul.

Problem statement

A classroom computer is being checked before the first programming lesson. Its startup program must display a fixed greeting so the instructor can confirm that output is working. Your task Write a program that prints Hello World exactly once. Important details There is no input to read. Use uppercase H and W, one space between the words, and no punctuation. Do not print quotation marks, prompts, or diagnostic messages. A final newline is allowed. This exercise checks the output operation itself; no arithmetic or user interaction is required. Worked example Running the program with an empty input stream displays Hello World. The visible output contains eleven characters, including the space.

Input format

No input.

Output format

Print Hello World.

Constraints

The input is empty.

Sample input

Sample output

Hello World

Sign in to run or submit a solution in C++, Java or Python.

Loading Coding Gurukul…