#include <stdio.h> int max(int x, int y); main() { int a,b,c; a=7;b=8; c=max(a,b); printf("Max is %d",c); } max(int x, int y) { int z; z=x>y? x : y; return(z) ; }
运行结果为:
350
Max is 8
8
max is8
MAX is 8
max is 8
薄冰百天,我要上西南交通大鞋
7
用户登录可进行刷题及查看答案
登录后提交答案