Toggle navigation
Courses
Questions
Tags
Users
AD 20160922 作業1
0
like
0
dislike
4.3k
views
請撰寫一個程式,請使用者輸入身高體重後計算出使用者的BMI值並顯示於螢幕上
[Exercise]
Essay (Open question)
-
asked
Sep 22, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 11532 -
Available when:
Unlimited
-
Due to:
Unlimited
|
4.3k
views
comment
0
0
Called for Help
0
0
Called for Help
Please
log in
or
register
to add a comment.
66
Answers
0
like
0
dislike
Hidden content!
#include <stdio.h>
#include * * *** *
main()
{
* ***** *** ** * * * *
***** ** *** * ***** * * * height=0, weight=0 ,bmi=0;
*** * *** *** ** ** * ** * * * * * * ** * your height(cm):");
** *** * ****** ** * ** ***** * * ** * *********
** **** * *** ** ** ***
*** ** ****** * **** * **** ** * * * your weight(kg):");
** ** * * * * * *** * **** * ** * *** *
** * * * **
** * * *** * ** * * ** * * * **** ***
* * * ** * ** ** ** *** ** ** * height:%.1fcm,your * * * * ***** *** ** *
* * **** ****** ** * * ** * ** *** * * **
}
answered
Sep 22, 2016
by
410525038
(
-64
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include <stdio.h>
** * ** ** ****
main()
{
* ** *** * ***** * *** **** input your weight and height to get your bmi:\n");
** * * ******* ****
**** * * ** ** * * * * * height=0,weight=0,bmi=0;
* * * * * ** * ** **** ** * * ** * *** input your weight(kg):\n");
* * * * * * *** * * ** * * ** **** ** * * * ** * *
*** * * * **** * * * * ** input your * ** * ** * *
* * *** *** **** * * * *** * * * * * * *
*** ** * **** * * *** * * ** ** *** ** ** * * *
** * *** ** * **** *** ** ** ***** *** **** **
* ** * *** *** ** *** * *
* **** *** ** * * ********* * ** ***** **
}
answered
Sep 22, 2016
by
610521247
(
70
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include<stdio.h>
* * * * *** *** **
main()
{
* ** ** * * * ** * * **** ** * * *** * weight = 0 , height = 0 , bmi = 0;
** * ***** * * * **** ** * * *** *** *** *** input Weight(KG):");
** *** * * ** *** *** * ** **** * ****** * *
* * * ** * *** * ** * ** * * **** ** * * * * *** input Height(CM):");
** ** ** *** * ** * *** ** ** * ** **** ** * * ** ** **
* *** * ** * * ** ** * * * *** * = weight / ((height/100) * (height/100)) ;
** * * * * **** * ** ** *** ** ***** * * ** * *** *** * * * ***
* * * * * * **** * * ** * * ** *** * *** **
** ** * ** ***** *** * * * * * *
answered
Sep 22, 2016
by
410523043
(
156
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
** * * * *** * * *
*** * * ** *
main()
{
float w=0 , h=0 , BMI=0;
*** *** * ***** * * * ** * ** input your weight * ****
*** * * *********** * * *** * * *** (w) );
**** ****** *** ** **** ** *** *** input your **** * *
* *** ** * *** * ** ** ** ***** ***** (h) );
* * * * * * * *
* *** * *** * * ** ** ** BMI is %.2f * * *
}
answered
Sep 22, 2016
by
chen
(
-102
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include <stdio.h>
#include <stdlib.h>
main()
{
** * * *** *** * ****** * * * * height=0 , weight=0 , bmi = 0;
* * * ** * * *** ***** * ** *** ** **** input height");
* ** * * ** ** **** **** * ***** *** * **** ** * * * ***** *
* * * ** * **** * * * ***** *** * ** * ***** * * * input weight");
*** ** * * * ** * *** * ************ *** *** * * * ** **
*** **** * **** ***** ** ** * * ** ** * ** * *** ***** *** *
*** *** * * * ** * * * ***** * = weight/(height*height);
** ** * ** * *** *** * * * ** **** ****** ** * bmi);
* * * ****** **** *** ** * ** *** *** ******* **
}
answered
Sep 22, 2016
by
410223045
(
-194
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include <stdio.h>
#include * ** * *** * * *
int main()
{
* * * * * * * ** * ** ******* * ****
** * **** ***** *** * input height(cm):");
* ******** * **** * * ** ** * *
***** * * **
* * ** ***** * ** input weight(kg):");
** * *** ** *** *** **** **** *** ** * ** *
* ** * * *** **
** ** ****** ** * * = weight / * * * * * **
** ** * *** * *** *** ** * * ****** *** *
**** ** *** * * *
***** ****** * * * * ** **
* ** ** * ** * ** *** 0;
}
answered
Sep 22, 2016
by
goodboy110222
(
-186
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include * * * * ** ** *
#include * * ** * **
main()
{
* * * * * * * * *** **** * * weight=0, height=0 , BMI=0 ;
* * * * ******* ** ** ** *** ** * input weight(kg) : \n");
** * * ***** * * * * *** * * * **** * * * *
* * *** ** **** ** ****** ****** * input height(cm) : \n");
* * *** * ** *** * * * ** ** ** * ** ****
**** * * ** ** * * * = * * * * **
* ** **** * * * ** ** ***** * ** * * = ** ** *** *
*** * **** ***** * * *** * * *** ** ** *
}
answered
Sep 22, 2016
by
410214219
(
-284
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include <stdio.h>
#include ** * ****
int main(int argc, char *argv[])
{
* ***** ****** ** ** * *** * * * * * * *
** ** * * *** **
* * *** **** **** * * * * ** * * * input weight(KG):");
** * **** ** * * *** * * ****** * ** * * * ***
* * * * ** ** ** * *
** ***** * ***** ** * * ***** ** * ** input height(M):");
* * * * * * *** * * * ** * * **** ** * * *
**** * * * ** ** * * *
** * * ** ** ** * = weight_kg /(height_m*height_m);
* ** * *** * * * *** ** * **** ** ***
* * **** *** ** ** * **
** ** ** * ** ** * * * ** ** * * ** ** * * ** *
* * * **** ***** * * ** * * * 0;
}
answered
Sep 22, 2016
by
Dhgir.Abien
(
-216
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include ***** *
#include *** * **** * ****
main()
{
** * *** ******* ** * ** ** weight=0, height=0 , BMI=0 ;
* * * ** * * * ** * ** * input weight(kg) : \n");
* * * ** * * * * ***** * * **
** * *** ******* ** ******* * * ***** ** input height(cm) : \n");
** * ** ** ** *** ** * * *** ** * * ** *
* **** ** * * *** **** ** * = ** * * ** * *
* ** *** ***** * **** * * = ** **** * *
* * * ** ** ** ***** * * * * * * * **
}
answered
Sep 22, 2016
by
410214219
(
-284
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
*
**
* * * ** , ** , *
* * **** * * ** * ** ** * * * * ** * **
* * * ** ** ** ****
* * * * * *** ** * **
* * ** * ** * *
* * / *
** *** * **
* * *** * : ** , * * ** * *** * *
* *** * *** * *** ***
* *** ******* * * *** * * ** * *
***** *
* ***** * * * *** *** * ** * ** *** *
* * * * * ****
}
answered
Sep 22, 2016
by
z0800563
(
-30
points)
edited
Sep 22, 2016
by
z0800563
ask related question
comment
Please
log in
or
register
to add a comment.
Page:
« prev
1
...
3
4
5
6
7
next »
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English
中文
Tiếng Việt
IP:172.71.255.66
©2016-2025
Related questions
0
like
0
dislike
47
answers
AD 20160922 作業2
[Exercise]
Essay (Open question)
-
asked
Sep 22, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 11533 -
Available when:
Unlimited
-
Due to:
Unlimited
|
3.2k
views
0
like
0
dislike
26
answers
AD 20161103 作業1
[Exercise]
Coding (C)
-
asked
Nov 3, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 16957 -
Available when:
Unlimited
-
Due to:
Unlimited
|
2k
views
0
like
0
dislike
37
answers
AD 20161020 作業 1
[Exercise]
Coding (C)
-
asked
Oct 20, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 14579 -
Available when:
Unlimited
-
Due to:
Unlimited
|
2.6k
views
0
like
0
dislike
67
answers
AD 20161013 作業 1
[Exercise]
Coding (C)
-
asked
Oct 13, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 13427 -
Available when:
Unlimited
-
Due to:
Unlimited
|
4.2k
views
0
like
0
dislike
73
answers
AD 20160929 作業 1
[Exercise]
Coding (C)
-
asked
Sep 29, 2016
in
作業
by
Shun-Po
(
18k
points)
ID: 11603 -
Available when:
Unlimited
-
Due to:
Unlimited
|
4.8k
views
12,783
questions
183,442
answers
172,219
comments
4,824
users