SyntaxFix
Write A Post
Hire A Developer
Questions
The problem is the std namespace you are missing. cout is in the std namespace. Add using namespace std; after the #include
cout
using namespace std;