能否帮我看看这个是有什么问题
#include<stdio.h>int main()
{
float max(float x,float y);
float a, b, c;
printf("请输入两个数,用逗号隔开\n");
scanf_s("%f,%f", &a, &b);
c = max(a, b);
printf("较大的数是:%.2f\n", c);
return 0;
}
float max(float x, float y);
{
float z;
if (x > y)z = x;
else z=y
retuen (z)
}
错误 C2447 “{”: 缺少函数标题(是否是老式的形式表?) Project3 d:\c++project\project3\project3\源.cpp 13