체중키성별 입력받아 표준체중 비만 약체 출랙하는 프로그램 작성. 기준값은

남자:키-100

여자:키-105

기준값 중심으로 +5~-5까지를 표준 그이상은 비만 그 이하는 약체로 구분


#include <stdio.h>

main(){

<!--[if !supportEmptyParas]--> <!--[endif]-->

float weight,height;

char sex;

printf("체중은:");

scanf("%d", &weight);

<!--[if !supportEmptyParas]--> <!--[endif]-->

printf("키는:");

scanf("%d", &height);

<!--[if !supportEmptyParas]--> <!--[endif]-->

printf("성별은:");

fflush(stdin);

scanf("%c", &sex);

}


여기까지 뚜둘기고 마지막줄땜시 아늑해짐

시발 이것밖에 안되는 내가 싫다..