It looks good the code is great and has no issues. try switching to a different environment than replit but if you wanna stay on replit try troublshooting by usingcout << "Hello, World!" << endl;
cout << "Hello, World!" << endl;