Toggle navigation
Courses
Questions
Tags
Users
AC 20160921 作業1
0
like
0
dislike
8.1k
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.1k
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 * * ** ** ** * *
#include * *** * ** *
main ()
{
* * ** **** * * * height=0, weight=0, bmi=0;
* * ** * **** * * * * ** * input your ** * ** * * *
* * ** * * * * * ** * * * * ** * * &height);
* * * * * * * ** *** input your ** * *** * *
* * * * * **** * ** * * ** ** *** &weight);
* ** * * ** * * * * * * / ** * * * ;
** * ** * **** * ** * * * * height:%.1fcm, * ** ****** * * **