#include <iostream> using namespace std; template <typename T> void calculateBMI(T weight, T height) { T BMI = weight / (height * height); if (BMI < 18.5) { cout << "偏瘦" << endl; } else if (BMI >= 18.5 && BMI < 20.9) { ...