#include<stdio.h> int main() { int a,b,c; int i; scanf("%d %d %d",&a,&b,&c); if(a>b) { i=a; if(i>c) { printf("max=%d\n",i); } else { i=c; printf("max=%d\n",i); } else { i=b; if(i>c) { printf("max=%d\n",i); } else { i=c; printf("max=%d",i); } } } return 0; }
时间: 2024-10-14 09:50:28