要题解come here
2024-12-07 22:38:36
发布于:广东
5阅读
0回复
0点赞
题解
请多多关照
题解如下:
#include<bits/stdc++.h>
using namespace std;
int main(){
double n,m;
cin >> n >> m;
double ans = m / (n * n);
printf("%.2lf ",ans);
if(ans < 18.5) cout << "thin";
else if(ans < 23.9) cout << "normal";
else cout << "obese";
return 0;
}
加油!
这里空空如也
有帮助,赞一个