#include<iostream>

int findarea(int length, int width);

int main()
{
    int lengthofyard;
    int widthofyard;
    int areaofyard;
   
    std::cout << "\nHow wide is your yard?";
    std::cin >> widthofyard;
    std::cout << "\n how long is your yard?";
    std::cin >> lengthofyard;
   
    areaofyard= findarea(lengthofyard,widthofyard);
   
    std::cout << "\nyour yard is ";
    std::cout << areaofyard;
    std::cout << "square feet\n\n";
    return 0;
}

int findarea(int 1, int w)
{
    return 1*w;
}

책을 하나 사서 막 독학하는데, 이망할놈의 책이 예제조차 틀린게 많어 ㅠㅠ 근데 내가 또 돈이 널널하지 못해서

하루하루 먹고살기바빠서 1만원은 기본으로넘는 책을 또사긴 그래 ㅠㅠ 처음 보통 한다는 "Hello World"도 존나 헤맸는데

알고보니 세미콜론이 "예제" 부터 없더라 -ㅠ-

이번에도 뭔가 에러가 뜨는데 나같은 늅늅이 알수가 있어야지 ㅠㅠ

컴파일을 하면

int findarea(int 1, int w)

부분에서 걸리는데 밑에 영어는 사전을 보면서 찾아도 대체 무슨말인지 알수가 없어 ㅠㅠ 좀 도와줘 ㅠㅠ