主页 > 设计师中山人才网

用C语言编程

145 2023-12-14 15:04

#include<iostream>

#include<中仿math.h>

using namespace std;

int main()

{

float heigh,weight;

cout<戚纳<input heigh(cm): ;

cin>>heigh;

cout<<input weight(kg): ;

cin>>weight;

float esi=0.000001;

float heighweight=(heigh-100)*0.9;

if(fabs(heighweight-weight)<0.1*heighweight)

cout<<you are health!<高培没<endl;

else

cout<<so sorry,you are sickness!<<endl;

system(pause);

return 0;

}