函数原型为intmax(inta,intb,intc)(1)intz;z=(a>b)?a:b;returnz>c?z:b;(2)if(a>b){if(a>c)returna;elsereturnc;}else{if(b>c)returnb;elsereturnc;}(3)inttmp;if(a