Toggle navigation
Courses
Questions
Tags
Users
AC practice 4
0
like
0
dislike
2.7k
views
正三角形的面積公式是[4分之根號3乘a平方],請設計一個程式,讓使用者輸入正三角形的邊長,然後輸出正三角形的面積,輸出時請輸出並四捨五入到小數點後兩位。
範例輸入:
8
範例輸出:
21.71
[Normal]
Coding (C)
-
asked
Oct 13, 2016
in
2016-1 程式設計(一)AC
by
Shun-Po
(
18k
points)
ID: 13422 -
Available when:
Unlimited
-
Due to:
Unlimited
3
flags
|
2.7k
views
comment
0
0
Called for Help
Please
log in
or
register
to add a comment.
35
Answers
0
like
0
dislike
Hidden content!
#include<stdio.h>
** * * ** *
int main()
{
* * * * * ** * * a;
*** *** * ******** * A;
** ****** ** ** * *** ***** * **** * * * ** &a);
* * * * * * **** * * * * * *
* * * * * * ** ** ** * ** * * * ** ** *** *
* * * **** ** *** **
** * * * * *** * ** 0;
*** * ** ** * * ** * ****
}
answered
Oct 26, 2016
by
Queenie0915
(
-124
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
***** * ******* **
***** ** * * * ****
int main ()
{
* **** ** * ** * *** * **** a,b;
*** **** * * *** * ** * * * *********** ** &a);
**** * * ** * * * * *** ***** = sqrtf(3)/4*(a*a);
* ****** * ** ** * * * ***** * *** * * * * * * *
** **** * 0;
}
answered
Oct 26, 2016
by
楊介振
(
-383
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
***** * *****
* * ** **
main()
{
* * * ** * * ** * * *
**** * **** ** ** ** * * **
*** * *** **
*** * ** ** * * ** * * *
}
answered
Oct 26, 2016
by
楊介振
(
-383
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
* * **** ** *
* * * * ***** * ** *
* * * ** ***
int main()
{
float **
* *** * * * * * *** * * *
b = * ** * *
* * * ****** * **** *
* * * * ** * system *** * **** * ***
*** * *** * return 0;
** * *
answered
Oct 25, 2016
by
410523016
(
-136
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
* ** *** *** *
** **** * ** ***
** ** * * ** *
int main(){
* ** ** * ** * * *** ** i, a, j;
* ** *** ** * *** ** * * * **
***** ** * * * **** * = sqrt(3) / 4;
***** * * *** *** ** * = i * (a * a);
** ** ** *** **** * * * **** ** * * * j);
return 0;
}
answered
Oct 25, 2016
by
410342026
(
-105
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
*** * ***** ***
*** **** * * ****
int main ()
{
* **** * **** * * *** ** * * a,b;
* **** * * * * ****** * ** ** ** **** &a);
* **** * * * ** ** * * *** ** = sqrtf(3)/4*(a*a);
* * * ***** * * * * *** * * *** * * * ***
* * ** ****** * * * * 0;
}
answered
Oct 25, 2016
by
李奕叡
(
-143
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
** * *** * ** *
* ** *** ** *
int main ()
{
* ** *** * * * * ** * a,b;
* ** * * **** * ** ** * * * **** * * * * &a);
** ** ** **** * ** * ** *** = sqrt(3)/4*(a*a);
* * ** *** ** *** *********** * ** ***** * *** ** **
* *** * * ** * * * * 0;
}
answered
Oct 25, 2016
by
李奕叡
(
-143
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include * *
#include * * * * * *
#include ** * * ** **
int main()
{
* * **** ** ** **** *** ** a;
* ** ** ** * * * ** *** * **** **
** * ** ** ****** * * * * * ** * ** * *** ***** * * *
**** ** * * **** *** * * * * 0;
}
answered
Oct 24, 2016
by
410323020
(
-85
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include <stdio.h>
int main()
{
* * * * ** *** ** ** * ** * a;
** *** **** ** * * ** ** *** area;
** * * * ***** *
** * *** * * * **** **** * * ** ****** *** **
** * ** *** ** ** * * *
** * *** * ** * ** ** ** ** * * * *** *** *
}
answered
Oct 23, 2016
by
410425016
(
-124
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!
#include <stdio.h>
#include * * * *
#include <math.h>
int main()
{
* ** * * **** **** ** **** a, b;
** * * ** **** ******** * ** * *** ****
** *** ************* *** ** ** * ***
* * ** ** ** * * ** * * ***** **** ** * ***
**** * ** * * * * * ** * * * ***
* *** ** * ** *** * ** 0;
** * ** ** * ** * **
answered
Oct 19, 2016
by
Gulang
(
-122
points)
ask related question
comment
Please
log in
or
register
to add a comment.
Page:
« prev
1
2
3
4
next »
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English
中文
Tiếng Việt
IP:172.70.178.28
©2016-2025
Related questions
0
like
0
dislike
43
answers
AC practice 3
[Normal]
Coding (C)
-
asked
Oct 11, 2016
in
2016-1 程式設計(一)AC
by
Shun-Po
(
18k
points)
ID: 13025 -
Available when:
Unlimited
-
Due to:
Unlimited
|
3.2k
views
0
like
0
dislike
49
answers
AC practice 2
[Normal]
Coding (C)
-
asked
Oct 11, 2016
in
2016-1 程式設計(一)AC
by
Shun-Po
(
18k
points)
ID: 13023 -
Available when:
Unlimited
-
Due to:
Unlimited
|
3.6k
views
0
like
0
dislike
39
answers
AC practice 1
[Normal]
Coding (C)
-
asked
Oct 11, 2016
in
2016-1 程式設計(一)AC
by
Shun-Po
(
18k
points)
ID: 13020 -
Available when:
Unlimited
-
Due to:
Unlimited
|
3.2k
views
0
like
0
dislike
7
answers
AC 20161027 期中考 4
[Exercise]
Coding (C)
-
asked
Oct 27, 2016
in
2016-1 程式設計(一)AC
by
Shun-Po
(
18k
points)
ID: 15399 -
Available when:
2016-10-27 18:30:00
-
Due to:
2016-10-27 21:00:00
|
950
views
12,783
questions
183,442
answers
172,219
comments
4,824
users