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

User Darqer
by
8.4k points

2 Answers

1 vote

Answer:

Hello!

Step-by-step explanation:

User Lawnsea
by
8.1k 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
7.7k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.