0 like 0 dislike
2.2k views
請設計一個程式,讓使用者輸入三個整數數字,程式會輸出三個數當中最大的那個

 

範例輸入:

-10 5 99

範例輸出:

99
[Normal] Coding (C) - asked in 2016-1 程式設計(一)AC by (18k points)
ID: 13020 - Available when: Unlimited - Due to: Unlimited
| 2.2k views
0 0
Called for Help

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 by (-82 points)
0 like 0 dislike
Hidden content!
*** * * * * ***
** * ** * ***


* ** ** a,int b,int c);



int * *
* **** * * **
* ***** * *** * * * ** *** * ** * * ** **** *


** *** * * * * * * * ***
* ***** * *
** * * * *** ****** ** * **** **
* 0;

}











void * * num1, int num2, int *

{
** * ** *** *** * * = (num1 * num1 : num2;
* ********** * ** ** = (num1 * * * ** num1 : num3;
* * * ** ** *** *** ** * ** * ** ***

}
answered by (-122 points)
0 like 0 dislike
Hidden content!
#include<stdio.h>

#include<stdlib.h>

int main()

{

    int a,b,c;
* *** * * ** * **** * * * ** ** * ** * *
**** ** * * ** ** * * * ********* ** ** * *
* * ** *** ** ***** ** * *** ** ** *
* * * * * ** * * * ** ** * *** ***** **
* * ***** *** *** * * **** * * * * *** * * * * * ** *******
**** ** *** ** **** * * *** ***
* * ******* * *** * * *** ** ***** ** *** ** * ** * *
* * * *** ** ** ** * ** ***** ** **** **
** * *** ** * ** **** ** **** * * *********** **** *** *
** **** * * * * * * ** ** *** * **********

    return 0;

}
answered by (-103 points)
0 like 0 dislike
Hidden content!
* *** * ** ** ** * *
* * * ** * ** **


*** *

{
* * *


** *** *** %d ********** *** *** * * **


** * *** = a; * * * *** * ***** * * ** ** * * ****** ** ** * *** ***** * ** ** *** * * *** **** ** * *** ******








































* 0;



}
answered by (-276 points)
0 like 0 dislike
Hidden content!
** * ** ** * *
** *** * * * ** **
***

{
** a = * = * = 0;
**** * *******

b = a;

a = 0;
* * ******* *******
****** * *
** ** =

* =

* * **** ** *


*** * *



}
answered by (-140 points)
0 like 0 dislike
Hidden content!
* ** *** * ** * *
** * ** * ** *
*

{
* a = * = = 0;
* ** ******

a = b;

a = 0;
* * * * * ** *
**** *
* * *** =

= **
*
** **** * * * * *


*



}
answered by (-140 points)
0 like 0 dislike
Hidden content!
*** * *
* * ** * * ***
*** * ***

{
* * a = = * = 0;
** ** ** * **

a = b;

a =
******* * * ** *** * *
* ** * *
** * *** = b;
*

}
* * * *** * * ** *


** ** *



}
answered by (-140 points)
0 like 0 dislike
Hidden content!
* * * *** *



int main()



{


* ***** ** * ** * * i, num[3] = {0}, max;






* * * ****** ** * * * ** = 0;i * 3; i++)


** ** * ** * * * ** *** * * * * * *
*** * ** * = ***
** ** * * * * * * = 1; i **** 3;i++)
**** * ** * * *** * * * * *****
** * * **** * ** = ** *




** * ** ** * ***** ** * *** * ** max);












**** ** *** * ******* * 0;
** ** ** *** ****
answered by (-120 points)
0 like 0 dislike
Hidden content!
#include<stdio.h>



int main()

{
*** *** * * * * * * * a , b , c ;
* * *** *** ** * * ***** * **** * * * * * *** ** *
* **** *** * * > b,a > c)
**** * ** * ***** ** * ** * * ** ** a);
* * ** ** ** * ** * if(b > c)
* * *** * ** ** * *** * *** * **** * b);
* * ** * *** *** *** * * *
* * ** ** ** ***** ****** * * * c);

}
answered by (-90 points)
0 like 0 dislike
Hidden content!
* * * ** ***



int main()

{

int num[3],i;


* * * *** * * * ****
* ** ** **** *** * * ** *****


* * * * * * * * **** ** ** **** **
* * * *** ***** ** * ** * * *
* ** **** * **** * * ** *** * *




* **** ** * *** * *** *



return 0;









}
answered by (-383 points)
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English 中文 Tiếng Việt
IP:172.70.178.122
©2016-2024

Related questions

0 like 0 dislike
35 answers
[Normal] Coding (C) - asked Oct 13, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
ID: 13422 - Available when: Unlimited - Due to: Unlimited
| 1.9k views
0 like 0 dislike
43 answers
[Normal] Coding (C) - asked Oct 11, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
ID: 13025 - Available when: Unlimited - Due to: Unlimited
| 2.1k views
0 like 0 dislike
49 answers
[Normal] Coding (C) - asked Oct 11, 2016 in 2016-1 程式設計(一)AC by Shun-Po (18k points)
ID: 13023 - Available when: Unlimited - Due to: Unlimited
| 2.4k views
0 like 0 dislike
0 answers
[Resource] asked Dec 31, 2016 in 2016-1 程式設計(一)AC by laich (937 points)
ID: 20298 - Available when: Unlimited - Due to: Unlimited
| 38 views
12,783 questions
183,443 answers
172,219 comments
4,824 users