#include <stdio.h>
int main(void) {
double weight;
double high;
printf("몸무게 입력: ");
scanf("%lf", &weight);
printf("\n키 입력: ");
scanf("%lf", &high);
if(weight == (high-100)*0.9)
printf("\n표준체중입니다.");
else if(weight >= (high-100)*0.9)
printf("\n과체중입니다.");
else
printf("\n저체중입니다.");
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: