Toggle navigation
Courses
Questions
Tags
Users
AC practice 1
0
like
0
dislike
1.1k
views
請設計一個程式,讓使用者輸入三個整數數字,程式會輸出三個數當中最大的那個
範例輸入:
-10 5 99
範例輸出:
99
[Normal]
Coding (C)
-
asked
Oct 11, 2016
in
2016-1 程式設計(一)AC
by
Shun-Po
(
18k
points)
ID: 13020 -
Available when:
Unlimited
-
Due to:
Unlimited
|
1.1k
views
comment
0
0
Called for Help
Please
log in
or
register
to add a comment.
39
Answers
0
like
0
dislike
Hidden content!* * ** *** * * * * * ***
* ** ** * * * *** * * * **
** ** * * * ** *
int bigger (int num1 ,int num2,int num3);
int main()
{
* * * * * * number1, number2, number3;
* ** * * *** ** * * * *** * * * * * &number1 *** * ** *
* * * * ** * * * ** * * * * * ** * ** * ** * * *
* * * *** * * *** ** ** * ** * **
* * ***** * * * ** ** ** 0 ;
}
int bigger(int num1 ,int num2,int num3)
{
* * * * * * * * * ** > num2 * * * * * num1 > num3){
* * ** * * * * * * * * * * * * * * * **** *** * ** * * * num1;
* * * ** * ** *** ** * * **
* *** ** * * * * * * * * * * ** * * * ** **** if (num2 > * ** * ** * **** ** num2 > num3){
* ** * * * * * * ** * ***** * * *** * ***** * * * * ** * * * *** * num2 ;
* * * * * * ** * * * * * * * ** * ** *
* * * * * ** * ** * * * ** *** *** * * * * ** * ** * * * * * * * {
*** ** *** ** * * * * ** * * * * * * *** * * * * * *** * ** * * * ****** * * * ** ** * ** * * num3 ;
* ** ** *** * * ****** * * **** ** ** * * * * *** * ** * * * *** * * ** * *
}
answered
Jan 14, 2017
by
shihemi
(
-82
points)
ask related question
comment
Please
log in
or
register
to add a comment.
0
like
0
dislike
Hidden content!* * * * * ****
* * *** *** * ** ** ** * *
*** ** **** a,int b,int c);
int * * *
* ***** * * * ** * * * *