Home > Back-end >  Code error, please find out the problem
Code error, please find out the problem

Time:09-17

When this code runs an error, the error C2059: syntax error: 'type', is someone who knows what is going wrong?

# include
# include
Int min (int a, int b)
{
If (a> B)
return b;
The else
Return a;
}
Int main ()
{
Int a, b, c, d, e;
The scanf (" % d % d % d ", & amp; A, & amp; B, & amp; C);
D=min (a, b);
E=min (c, d);
Printf (" % d ", e);
return 0;
}

CodePudding user response:

Copy your code, the int min (int a, int b) into int min (int a, int b) after running normally, vs2019 environment, should be min and library functions in the zhangs

CodePudding user response:

Has been solved, thank you

CodePudding user response:

Code not found any questions ~