帮我写一个三个数比较大小的c语言代码
时间: 2023-03-15 10:55:41 浏览: 104
int a, b, c;
if (a > b)
{
if (a > c)
printf("a is the largest number");
else
printf("c is the largest number");
}
else
{
if (b > c)
printf("b is the largest number");
else
printf("c is the largest number");
}
阅读全文