01../*
02.*Copyright (c)2014,烟台大学计算机与控制工程学院
03.*All rights reserved.
04.*文件名称:sort.cpp
05.*作 者:战九州
06.*完成日期:2015年01月09日
07.*版 本 号:v1.0
08.*
#include <iostream>
using namespace std;
int main()
{
int s,normal,low,high;
double t;
cin>>s>>t;
if((t-(s-100))>(s-100)*0.2)
{
cout<<"high";
}
else if(((s-100)-t)>(s-100)*0.2)
{
cout<<"low";
}
else if((t-(s-100))<(s-100)*0.2||((s-100)-t)<(s-100)*0.2)
{
cout<<"normal";
}
return 0;
}
求体重是否超标
最新推荐文章于 2024-09-15 11:40:06 发布