|PLease try to learn the usage of syntax of C++. The syntax used in your code is wrong.
Syntax related error can be cleared only working with it.
Which you have do
I prefer you to study with Learning C++ A hands On Approach by Eric Nagler. [^]
Well your case firstly #include <iostream>
you didn't specified the namespace.
using namespace std
and next is related
endln, actually that is endl.
Please learn using the text, it is better for you.
Величие не Бога может быть недооценена.