[Beginner]Inserting a function into main part - c++ : I'm a beginner and I have a little problem about calling a function into the main part of the program.

    #include <iostream>

    #include<cmath>
    int getAbsProd(int a, int b)
    {
    cout<<"Insert integer: "<<endl;
    cin>>a;
    cout<<"Insert another integer: "<<endl;
    cin>>b;
    cout<<"The absolute value of the multiplication is: "<<abs(a*b)<<endl;
    return abs(a*b);

    }


    int main()
    {

    cout<<getAbsProd();
    return 0;
    }

I'm using codeblocks, couldn't call <math.h>, somewhere it was suggested to call <cmath>, I'm just beginning to code, so go easy :)

