You are placing semi colons at the end of your functions params list For example:
int substract(int a,int b); ---> (Should not have a semi-colon here)
{
return (a-b);
}
Whenever C++ compiler throws an unexpected unqualified at you, it is usually in part because your semi-colons are incorrect. This is good to remember for debugging in the future!
0
solved C++ error expected unqualified [closed]