5分?
查看原帖
5分?
1222005
hcodm楼主2024/6/13 16:56

只想说为什么没题解还一条帖子没有?

除了我


一道通过率百分之四十多的题目 只有5分?

#include<iostream>
using namespace std;
main(){
	double a;
	double b;
	cin>>a>>b;
	int c=1.0*a/(b*b);
	if(c<25)cout<<"Normal weight";
	else if(c<18.5&&c>25)cout<<"Overweight";
	else cout<<"Underweight"; 
return 0;}

哪个大佬帮帮我呀!

2024/6/13 16:56
加载中...