出题人的学生的答案

Bryson · 发布于 2023-08-16 · 浏览 592 回复 0

include <stdio.h>

int t;

int abc(int a1, int b1, int c1) {

if (a1 > b1) {
	t = a1;
} else {
	t = b1;
}
if (t < c1) {
	t = c1;
}
return t;

}

int main(void) {

int a, b, c;
scanf("%d %d %d", &a, &b, &c);
t = abc(a, b, c);
printf("%d", t);
return 0;

}

全部回复 共 0 条

还没有人回复。往下写第一条。

发表回复