I am trying to solve the question from codewar but it is not allowing me to enter. please help me to solve this

Question is

int multiply(int a, int b)
{
a*b
}

and i wrote this code https://ide.codingblocks.com/s/305330

and when i submit my code it shows this error

main.cpp:35:5: error: conflicting types for ‘main’
int main(int, const char *[]) {
^
main.cpp:15:5: note: previous definition is here
int main(){
^
1 error generated.

how to solve this error. please help.

hi @Anku47 you have to complete the given function only. No need to write other stuff. Writing only this much will suffice

int multiply(int a, int b)
{
    return a*b;
}

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.