<swustoj>?id=33 三个数的最大值
链接http://acm.swust.edu.cn/problem/0033/
#include <stdio.h> int main() { int MAX(int a,int b); int a,b,c; int ans; scanf("%d %d %d",&a,&b,&c); ans=MAX(a,MAX(b,c)); printf("%d\n",ans); return 0; } int MAX(int a,int b) { return a>b?a:b; }

浙公网安备 33010602011771号