Ultimate C++ Part 1: Fundamentals - Organizing Functions

I use VS code as my IDE, and when I tried to compile the code, These are the errors I get. Am I doing anything wrong, and if so, how do I solve this problem?