大括号出现问题?
#include <stdio.h>void main()
{
int a, b, max;
printf("\n input two numbers: ");
scanf("%d%d", &a, &b);
if( a > b )
{
printf("max = %d\n", a);
}
else
{
printf("max = %d\n", b);
}
--------------------Configuration: fenzhi - Win32 Debug--------------------
Compiling...
fen.c
F:\Microsoft Visual Studio\MyProjects\fenzhi\fen.c(16) : fatal error C1004: unexpected end of file found
执行 cl.exe 时出错.
fen.obj - 1 error(s), 0 warning(s)
这是咋回事?