编辑代码

#include <stdio.h>
int main () {
    //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 
    printf("Hello world!     - c.jsrun.net.\n");
    int a=0,b=0,c=0,max;
   
    printf("请输入三个数");
    scanf("%d%d%d",&a,&b,&c);
    max = a>b?a:b;
    max = max>c?max:c;

    printf("最大数为%d",max);

    return 0;
}