这么简单?都不会?
#include int main(){ float a = 35.7f; float b = 65.2f; float c = 43.5f; float result = a; if (result < b) result = b; if (result < c) result = c; printf("%.1f", result); return 0;}