题解
2025-01-22 19:12:16
发布于:江苏
1阅读
0回复
0点赞
#include<iostream>
#include<cstdio>
using namespace std;
int main(){
double a,b;
cin>>a>>b;
double BIM=b/(a*a);
printf("%.2f ",BIM);
if(BIM<18.5){
cout<<"thin";
}else if(BIM<=23.9){
cout<<"normal";
}else{
cout<<"obese";
}
return 0;
}
这里空空如也
有帮助,赞一个