0 like 0 dislike
7.9k views
請撰寫一個程式,請使用者輸入身高體重後計算出使用者的BMI值並顯示於螢幕上
[Exercise] Essay (Open question) - asked in 作業 by (18k points)
ID: 11532 - Available when: Unlimited - Due to: Unlimited
| 7.9k views
0 0
Called for Help
0 0
Called for Help

66 Answers

0 like 0 dislike
Hidden content!
#include * ****** * *

int main()

{
* * * * * **** * *** height;
****** * ** ** *** ******* * * ** ** ** ***
***** * * * *** **** weight;
**** ******* *** * **** * * *** ** ** &weight);
** *** ** * *** *** * ** bmi=0;
* ** * * * * * **** ** * ** hei;
* ****** * ****** * = height / 100;
* * * ** ** * * * = weight / (hei*hei);
* * * ** * *** ** *** * * * * * *
* * ** ****** ** * * 0;

}
answered by (-202 points)
0 like 0 dislike
Hidden content!
#include * *** ***** ***



int main()



{


* * ** *** ** **** * * ** height=0;


** * *** *** * ***** * * weight=0;


* ** * ** * * *** * ** * ** * * * * * * ** **** * * ** *


* ** * * * * ** * ** **** * * ** ** * ** * **


* * * *** * * bmi = 0;


****** ** * *** * ****** = weight / (height * height);


** ** ** * * ********** ** ** * ** *


** * ** ** ** ** ***** 0;



}
answered by (-202 points)
0 like 0 dislike
Hidden content!
#include ** **** * *



int main()



{


** * ***** * * *** height=0;


* * ** ** * * * weight=0;


* **** ** ** *** **** * *** ** ** ** **** ****


*** *** *** ** * *** * **** ** * *


* ** ********** ** * bmi = 0;


* *** * ** ** * * ** ***** = weight / (height * height);


* ** * *** * *** * ***** ** * *


** * ** * * *** *** 0;



}
answered by (-202 points)
0 like 0 dislike
Hidden content!
#include * *** * ** **

int main()

{
* ** *** ** *** * height=0;
*** * **** *** * ** ** * weight=0;
*** ** **** ** * * ** ** **** ** **** ** ** **
** ** *** **** * * ** **** ****** &weight);
** * * * * ** ** ** bmi = 0;
* ** ** * * * ** * * ** * = weight / (height * height);
*** ** ** * * * ** * ** **** ** * * *
* ** *** *** * * * * 0;

}
answered by (-202 points)
0 like 0 dislike
Hidden content!
**

* *
*
* * ** *

* ** *

* * ** * ** * * * * * ** ***

*** * * * * * * * ***

* ** **** * ** ** * ** *

** * ** * *** *** **
* * = *

* = ** / * * * *

* * * ** ** * ** * **
* **** **
*
answered by (122 points)
0 like 0 dislike
Hidden content!
#include * *** *



int main()



{


* * ** * * * *** ** * *** height=0;


* * **** * *** ** * * * *


* ** *** ** * * ** * * * ** input your height in * * **** *


*** ** ** ** ** *** ** * ** * *** * * * ** ** **


* * * ** ** * * * ** * * * *** ** * input your weight in *** * *


** *** **** ** ** ** * * * ** * ** ***** *


** ** **** **** * * ** * * bmi = 0;


* * * ** * ** * *** * = weight / (height * height);


* ** * * * **** * ** * * * bmi is * ** *


** *** ** * ** * ** **** * 0;



}
answered by (122 points)
0 like 0 dislike
Hidden content!
* ** * * *
{
**
****
********* * * * in * **
** **** * ** * ** * *
* * * * * * ** ** * in *** *
* ** * ** * * ***
** bmi = 0;
bmi = * ** / ** * * **
* ** *** * bmi is * ***** *
0;
}
answered by (-202 points)
0 like 0 dislike
Hidden content!
#include ** * * ** **

int main()

{
** ** ***** * ***** height=0;
**** * ** ** *** ** * * * weight=0;
* * ******* **** * ** * *** * * ** **** input your height in *** * **
* *** ** ** ** **** * **** * * * ** * *
***** ****** **** *** * * *** ** input your weight in ** * **
**** ** ***** * ** * ** ** *** * ** *** *****
* * * * * * ** ** * bmi = 0;
* * ******* ** **** * = weight / (height * height);
*** * * **** * ** **** **** bmi is ** * * * *
* ** *** ** *** * 0;

}
answered by (-202 points)
0 like 0 dislike
Hidden content!
#include * *** **

int main()

{
** * ** *** ** * ****** height=0;
*** * * * *** * * weight=0;
* * ** ** ** * * ** ** * ******** * * * ** * ****
** ** ** **** * * * * * *** * * * ** ** * * *
* **** * *** * * *** ***** bmi = 0;
* * * * * ** * * **** * = weight / (height * height);
*** * ** * * ****** ****** ** ** * bmi is ** ** ****
* ** * * ***** **** 0;

}
answered by (-202 points)
0 like 0 dislike
Hidden content!
#include<stdio.h>
**** * * * * ***

int main()

{


**** * * ** * * * * * * * weight = 0 , height = 0 , bmi = 0;
**** ****** ** * * *** ***** ** ** ***** ** * * **** * * *
* * *** **** * *** * * ** * ** ** * * * * * * *
***** ** * ****** ** ******** ** = weight / ((height / 100) * (height / 100)) ;
** * * *** * ** ** ** * ******* **** *** * *** **
* * ** * ** ** *** ** ** ** ***** * *** ** * **
* * * ******* *** * *** * **** * 0;

}
answered by (156 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:108.162.216.241
©2016-2025

Related questions

0 like 0 dislike
47 answers
[Exercise] Essay (Open question) - asked Sep 22, 2016 in 作業 by Shun-Po (18k points)
ID: 11533 - Available when: Unlimited - Due to: Unlimited
| 6.1k views
0 like 0 dislike
26 answers
[Exercise] Coding (C) - asked Nov 3, 2016 in 作業 by Shun-Po (18k points)
ID: 16957 - Available when: Unlimited - Due to: Unlimited
| 4.1k views
0 like 0 dislike
37 answers
[Exercise] Coding (C) - asked Oct 20, 2016 in 作業 by Shun-Po (18k points)
ID: 14579 - Available when: Unlimited - Due to: Unlimited
| 5k views
0 like 0 dislike
67 answers
[Exercise] Coding (C) - asked Oct 13, 2016 in 作業 by Shun-Po (18k points)
ID: 13427 - Available when: Unlimited - Due to: Unlimited
| 8.1k views
0 like 0 dislike
73 answers
[Exercise] Coding (C) - asked Sep 29, 2016 in 作業 by Shun-Po (18k points)
ID: 11603 - Available when: Unlimited - Due to: Unlimited
| 9.1k views
12,783 questions
183,442 answers
172,219 comments
4,824 users