70.6k views
1 vote
Write a program with the following output: ( Notice the beeline and space). Hello world! Hello

User Darqer
by
5.5k points

2 Answers

1 vote

Answer:

Hello!

Step-by-step explanation:

User Lawnsea
by
5.0k points
6 votes

Answer:

#include <iostream>

using namespace std;

int main() {

cout<<"Hello world! Hello";//statement to print the statement.

return 0;

}

Step-by-step explanation:

The above written program is in C++.In C++ cout is used to print ouput on the screen and it is called standard output.So to print Hello world! Hello you have to code

cout << "Hello world! Hello";

This will print the statement.

User Tzoiker
by
5.4k points