Fix syntax errors

Report a typo

In the following C++ code snippet, there are syntax errors. Your task is to identify and fix the errors so that the code compiles successfully.

Sample Input 1:

Sample Output 1:

Hello, World!
Write a program in C++
#include <iostream>

int main() {
std::cout << "Hello, World!" < std::endl;
return 0
}

Create a free account to access the full topic