error 3a 27endl 27 was not declared in this scope

Solutions on MaxInterview for error 3a 27endl 27 was not declared in this scope by the best coders in the world

showing results for - "error 3a 27endl 27 was not declared in this scope"
Tim
17 Jan 2020
1using namespace std;
2
3Explanation:
4mention "using namespace std;" above the main function in C++ will solve the 'endl' error