#include<stdio.h>
int max(int x,int y);
{
int z;
if(x>y) z=x;
else z=y;
return (z);
}
void main()
{
int a,b,c;
scanf("%f.%f",&a,&b);
c=max(a,b);
printf("%f",c);
}
>e:\visual c++2010\progecct\1.1\1.1\1.1.c(3): error C2449: 在文件范围内找到“{”(是否缺少函数头?)
1>e:\visual c++2010\progecct\1.1\1.1\1.1.c(8): error C2059: 语法错误:“}”
大佬们,这是什么问题呀?