先使用整型去定义要输入的值 再使用if和else if进行比较判断 #include <stdio.h> int main() { int a, b, c, max; scanf("%d %d %d", &a,