error C2059: syntax error : ')'
#include <iostream.h>
can someone find error with this?Code:int add() { int a, b; cout<<"text"; cin>> a; cout<<"text"; cin>> b; cout<<"The sum is " << a+b << endl; //now here in the add function would i put return a+b; //or return EXIT_SUCCESS } int main() { char sign; cout<<"text"; cin>> sign; if( sign == + ); { add(); return 0; } return 0; }