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.
Errors
Fix syntax errors
Report a typo
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
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.