I created a program with a function, but it keeps on saying


"37: parse error before `int' "

heres line 34 to 39

getch();
return 0;
}
int randomNum()
{
srand(time(NULL));

can anyone help?