#include <stdio.h> int main( void ) { int a, b, c; printf( "输入三个数字: " ); scanf( "%d%d%d", &a, &b, &c ); int max = a; if( max < b ) max = b; if( max < c ) max = c; printf( "最大的数为: %d\n", max ); }