102k views
4 votes
Write a complete main method that prints hello, world to the screen.

1 Answer

6 votes
You should state the language you're using in these types of questions; here's an example in C++.

int main()
{
std::cout << "Hello World!" << std::endl;
}
User Look Left
by
6.7k points