Toggle navigation
Courses
Questions
Tags
Users
AC 20160921 作業1
0
like
0
dislike
8.3k
views
請撰寫一個程式,請使用者輸入身高體重後計算出使用者的BMI值並顯示於螢幕上
[Exercise]
Essay (Open question)
-
asked
Sep 21, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 11340 -
Available when:
Unlimited
-
Due to:
Unlimited
|
8.3k
views
comment
0
1
Called for Help
Please
log in
or
register
to add a comment.
121
Answers
0
like
0
dislike
Hidden content!#include * ** *
main( )
{
* *** * * * *** weight=0, cm=0 ,BMI=0;
** * ** ** *** * * * * * ** * * * * * ***
* * ** * ** * * ** * * ** ** * **
* * ** * * * * * * ** *** *** * * * ** *
* ** * * ** * * * * ** **** * *** * ** *
* * * * ** * ** *** * ** = weight /(cm*cm) * * ** *
* **** * * *** * * * = * * * * * * * ** );
}
answered
Sep 21, 2016
by
Noah1011
(
43
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!#include * * *** * *
main()
{
* * * **** * weight=0, height=0, bmi=0;
* ** ** **** * * * *** ** ** ** * ** * * ** * * *
* * ** * * * ** ** ** **** * ** * ** * * * **
* * ** *** * * ** * * * * * ** * ** * * ** * * * * *
* * * ** ** *** *** * * * * *** * * * ** ** * *
* * ** * * * ** ** = weight / (height*height);
* ** ** * * ** * * ** ** * * ** ** ** = %f", bmi);
}
answered
Sep 21, 2016
by
410523034
(
-120
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!