Write a Program to display a message on screen

By | October 4, 2021

Problem Statement

We need to write a program in C, C++, and Python that prints a HELLO WORLD! message on the console window. the Program is quite simple all we need to do is use the console print statement in all three programming languages.

C Program to display a message on the screen

#include <stdio.h>

int main()
	//print the message	
	printf("\n\n\n\n\n\n\n\n\t\t ******************  HELLO WORLD! ********************");
    return 0;


******************  HELLO WORLD! ********************

C++ Program to display a message on the screen

#include< conio.h>

void main()
******************  HELLO WORLD! ********************";



******************  HELLO WORLD! ********************


Python Program to display a message on the screen

print("'\n\n\n\n\t\t\t**********************   HELLO WORLD!   ***********************")



**********************   HELLO WORLD!   ***********************



The above program is quite simple, it is a complete beginner-level program that you often encounter while writing your first program with a programming language. All we have done in the above program is printing a Sequence of Characters with some escape characters. The \n represent the new line and the \t escape character represents tab (4 white spaces).

People are also reading:

Leave a Reply

Your email address will not be published. Required fields are marked *