C++ program to print a multiline Hello World!

Views: 109   

Following program shows you how to print a multiline Hello World!.
In this program we use \n for multi lines

#include <iostream>

int main() {
  std::cout << "Hello \nWorld!";
}

Output:

Hello 
World!
On By