Hi everyone, am Enunekwu, from Nigeria and am very new to c++ and other programming language, so am looking for a friend to guide me through it, thanks
Heyas! Welcome to the forum!
The two lines I quoted from you are the ones that are causing errors. For the first, I think you confused #include <iostream> and usingnamespace std;, both of which you'll need*. For the second, the standard expects main() to be an int, and any compiler that closely follows the standard will complain loudly if it's not.
Best of luck!
-Albatross
*Actually, you don't need the "using namespace std;" line. You could instead prefix all your "cout"s and "endl"s with "std::", which I'd recommend.