Write a program in C++ & Python to display a message on screen

By | July 2, 2019

In this program, we will only display a message i.e. HELLO WORLD!

 

Vamware

C++:

#include<iostream.h>
#include< conio.h>

void main()
{
clrscr();
cout<<"\n\n\n\n\n\n\n\n\t\t\
******************  HELLO WORLD! ********************";
getch();
}

 

Output

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

 

Python;

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

 

Output

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

Leave a Reply

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