c语言修改,找三个数中的最大数字。

![img](https://img-mid.csdnimg.cn/release/static/image/mid/ask/644871475156110.jpg "#left就是求三个数中的最大值

img


这些是报错,谢谢~
本人今年大一,C语言全部上成了昏昏欲睡的网课,今天让现场填空,就是这个,我好不容易填完,但是运行不了

1 第10行用了中文引号
2 缺少头文件
3 第1行的形参列表没类型

#include <stdio.h>
int max(int a,int b,int c)
{
    int d = a > b ? a : b;
    return c > d ? c : d;
}
int main()
{
    int a = 0,b = 0,c = 0;
    printf("输入三个整数:");
    scanf("%d%d%d",&a,&b,&c);
    printf("最大值为:%d\n",max(a,b,c));
    return 0;
}