解题思路:
注意事项:
参考代码:
#include<stdio.h> int main() { int a = 0, b = 0, c = 0; int max = 0; scanf("%d %d %d", &a, &b, &c); if (a > b) { if (a > c) max = a; else max = c; } else { if (b > c) max = b; else max = c; } printf("%d", max); return 0; }
0.0分
0 人评分