#include<stdio.h>
int main(void)
{
int a, b, c, max;
printf("please input a,b,c:\n");
scanf_s("%d,%d,%d", &a, &b, &c);
max = a;
if (max < b)
{
max = b;
}
if (max < c)
{
max = c;
}
printf("The largest number is %d\n", max);
return 0;
}
题目是这样的