반응형
 bmi = (_weight / pow(_height / 100, 2));

 

pow (a,b) = a를 b번 곱하는 것  

위는 키를 100으로 나눈 값을 2번 곱하는 함수 

 

반응형

+ Recent posts