#include<stdio.h> int max(int a,int b,int c)//定义一个返回最大值的函数 { int max=a>b?a:b; return max>c?max:c; } int main(void) { int a,b,c; scanf("%d %d %d",&a,&b,&c); double result; result=1.0*max(a+b,b,c)/(max(a,b+c,c)+max(a,b,b+c)); printf("%.2f",result); ...