include <iostream>

Why do we use mult (int x, int y) 2 times!!One at the begining and the other close to the end fo the script!!!And also why the one at the end does not have semicolon after its paranteses!!!!???
!!!!Please Help!!!


Code:
using namespace std;

int mult( int x, int y);

int main()
{
    int x;
    int y;
    
    cout<<"Please enter 2 variables x and y\n";
    cin>> x >> y;
    cin.ignore();
    
    cout<<"the mult of the 2 variables is"<< mult (x, y) <<"\n";
    cin.get();
}
int mult( int x, int y)
{
    return x*y;
}