Toggle navigation
Courses
Questions
Tags
Users
AD practice 1
0
like
0
dislike
3.8k
views
請設計一個程式,讓使用者輸入三個整數數字,程式會輸出三個數當中最大的那個
範例輸入:
-10 5 99
範例輸出:
99
[Normal]
Coding (C)
-
asked
Oct 11, 2016
in
2016-1 程式設計(一)AD
by
Shun-Po
(
18k
points)
ID: 13021 -
Available when:
Unlimited
-
Due to:
Unlimited
|
3.8k
views
comment
Please
log in
or
register
to add a comment.
54
Answers
0
like
0
dislike
Hidden content!
#include<stdlib.h>
int main()
{
** * * * * * * * * ****
* ******** * * * ** * i = 0 , max;
** **** * * ** *** * * YOYOYO[3]={0};
*** ** * ** ** *** ****** *
**** *** * * * * * ***** * ** *
* ** ** ** * ** * * * * ** * *** ** , &YOYOYO[i]);
* * * ** ****** ** ** *** *
** * * ** *** * *
** ** *** * *** *** * * * * * ** *
*** * *** ** ** ** * *
*** ** ** *** * ** *** * **
* * * * * ** *** *** * ** *** ** * ****** * *******
* * ** **** ** ** * * * * * * * * * * = YOYOYO[i];
* * * ***** **** *** ****** ***** **
* * ** * ****** * *** *
** * **** * **** ***** **
** * * * * * * ** ** * ** * * ** , max);
** * *** **** ***** * **** **** *** *** **
***** ** ** *** * 0;
}
answered
Oct 20, 2016
by
410223055
(
-186
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>
int main()
{
int x[3],i,j,t;
* * * * * ** ** * **** ** **
* * ** *** ** * * ** *** * * * * *** * *
* * * ****** ***** * * * * * *****
* * ** * * *** * *** ** * * * *
{
**** ** * *** * * * *** * ** *** * ** * ***** * * ***** ** * * ** ** * * **** ***** ** * ** ** **** * *** * *********
** ** * **** * ***** ** ** * * * * * *** * *** ** * * *** ** * ** * * ** * ***** * * *** ** **
* ** * * * * *** * * ******* * ** **** * **** * ***** ** * * ** ** *** * ** ** * ******* * * * * * * * * ** ** ***** * * * ** ** ** *** * * * * * *** * * * ** * ** * **
* ** * ***** ** *** * * * ** ** * * * ****** * * * * ** * ** ** **** * * * **** * **** ****** * * * ** * * * *** * ** * ** * * ** * * * ** * ***** ** *** *** * * * * *
* * * *** * **** ** * ** * *** * * ******* ** * * ******* ***** ***** * ** ***** *** ****** ** ** ** * * * * * ** *** **** ** ** *** * ****** **** ** *** * * ** * * * ***** * ***
***** **** * *** *** ***** ******* * ** **** ********* * * * ****** ** *** * **** * * ** * ** *** * * *** * *** * * * * * * ** * * ** ** * * **** **** ************ * * * * * ** *
***** **** *** *** * ** * * * ** *** ****** * * * ** * *** ** *** * ***** * *** * ** ** ** * ** *** ** * *** * *** ** * *** * * ** * * ** ** * ** ** ** * * ** ** ** * * ** *
** ** ** * **** * ** ***** ** ** * * * * * ** ** ** **** * ****** * * * * ** **** * * * * * *
* * * ***** * * * * ** *** * **** ******** * * * ***** * *** * * * *** * * ***** * * * * ** * * * *** ** * * * *
}
* * *** * ** * ** ** ** ** * ** *
** *** * **** **** * ****** * **** *
return 0;
}
answered
Oct 20, 2016
by
410523005
(
122
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>
int main()
{
* **** * * * ** a, b, c;
* ** ** ** ********** ** ** i ,j;
******* * * ** ** * ** **** **** %d %d",a,b,c);
* * ** ** * ** * * * * * > b)
* * ** **** * * **** *** * ****** **
* *** ***** *** ** * * * * * * *
* ** ******* *** * * *** ** * * *** * * b;
* *** ** ** ****** ** **** * > c)
* * ** ********* * ** * ** * * * ** ****
***** ***** *** **** * *
** **** * * *** * ** ** * ** * **** **
* * * ******* ** *** * *** * * * * ** *
* * * ** * * * ** *** ** * *
** ***** ** *** ***** ** 0;
}
answered
Oct 20, 2016
by
楊傑宇
(
-202
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>
int main()
{
int x[3],i,j,t;
* ** * * ** ** ****** * *
** * * * ** *** * ** *** *** ****
* * ** ** * *** * ****** ***
** * *** * ** * * *** * * * * *
{
* * ** ** **** ** * * * *** * *** * *** ** * *** ***** ***** * ****** **** *** **** ************ **** ** * *** *
**** *** * *** ** ** * * * * * * ** *** ** * *** * * * **** ** * *** ** ** * * * * * * ** * ** * *
* * ** *** ** ** * * **** ** ** * ** ** **** ** * ** ***** * ** * * * * * * * *** * ** ** * *** ** ** ** * * * * * *** * *** *** * * * * * * **** * ** **
* * * **** ***** *** ** * * * *** * ** ** * ** * * ** *** **** ***** ****** * * * *** ****** *** **** * *** * * *** *** ** * *** * ******* * * ** * **
* * ** * * * * * * ** *** * * * * ****** * * *** *** * * * ** * ** * ** ***** * * *** * * * **** * * *** * * *** ***** * * * * * * ***** * * ** * * *** **** ** * * ***** ******** * **** *
*** * *** ** ** *** ** * ** * * * *** ***** * ** * ** * * ** ** * ** * ** ***** ** * * ** * * * ** * * * * * * *** * * * * * ** ** *** * ** * * *
*** * ** ***** * * ** * * * ****** ** ******* ** ** ** * * *** * * ** ** ****** ** * * ** ** * ** * * ** ** * * * ** * * **** * **** ** * ** **** ** * * ** * ** ** *
** * ** ** * ** *** ** *** * * * **** * * * * * *** *** *** ** * * * ** * *** * * ** * *** ***** * * * * *
* ** * * ** ** **** * * * * **** ** * **** * *** * * * ** * * ** ** ***** **** * * ** * *** ** ** ******** *
}
* ** * **** ** ** * * ** * * **** ",x[2]);
* * **** ** * ** ** **** ***** * **** *** * *
* ** *** ** * * *** ** * * 0;
}
answered
Oct 20, 2016
by
410523005
(
122
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>
int main()
{
** ** * ** ** * *** ** a,b,c;
* ** * * ** * * * * *** * *** ** ****** ****** ***** ** * *** *
* * * * * ** * *** ** * ** ** * * *
* ** * * ** *** * * ** *** * ******* ** *** * *** *** * *
* ** ** ****** * * **** if * *** ** *** ** *** **** *
* ** ** * * * ** ** * * * * * * ****** * ** * * ***
*** ** * * * ** * if ((c>a)&&(c>b))
**** *** **** **** ** * * ** * * ****** * * * * ** *** ****** * ***
******* *** ** ***** * *** if ((a=b)&&(a>c))
**** ** * **** * * ** ****** * ** ** * ** * * * **
* ***** ** * * ** ** if ((b=c)&&(b>a))
* * ** ***** ** * ** ** *** * *** * * ** * * ** * ***
** * ** ** *** * *** ** **** if ((a=c)&&(c>b))
** * ** ***** * *** * * ****** ** ** ** ** * * ** *** *
* *** * * ** * * if ((a=c)&&(c=b))
* ** * * ** *** ** * *** ***** ** * * * ** * * ******* *** ******
*** * * * * * *** * *** **** 0;
}
answered
Oct 20, 2016
by
410223039
(
-146
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>
int main()
{
*** ** ****** ** * ***** ** num[3],i,t;
** *** * ** ** * * * * ** ****** * ** **
* * **** ** ** ** * * * *** *** *** ** *** ** *
* * * * ** * * ** ** ***** ** ** * * ** * * **
*** * ** ** * * **** ** *** **
**** * *** * ** *** ******* * ****** *
{
* * *** ** ** * ** * **
** ** ** ** * ** ***** ** ******
* *** *** * **** * * ** *
* * * * * * ** *** ** * ** * **** **** *
** *** **** ** ** *** * *** * *
*** ** * ** * ** ** * * * 0;
}
answered
Oct 20, 2016
by
andreas lu
(
-188
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>
int main()
#include<stdio.h>
#include<stdlib.h>
int main()
{
**** * * ** *** * **** num[3],i,t;
** * * * ** * ** ** ** ***** * *** **** * **
* **** * ** ** *** * ** ** * ***** * * * ** * ****
** * * *** * *** * ** ** * * ** * *
* * * *** * * * *** * *
*** ** ** ** ***** *** * ** * * *
** ** * * * **** ** ****
** ** ** ** *** * ** **
** ****** * ** *** ** *** ** * *
** * * ** **** * *****
* ** * **** ** ** *
** ** * ** * ** ****** ** *** * ** *
* ** * * * **** *** * *** ***** *
**** * ** * **** * * * * 0;
}
answered
Oct 20, 2016
by
andreas lu
(
-188
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>
int main()
{
*** * *** * ** * * a , b ,c;
* ** * * * * ** * ** ** *** * * *** **** , &a , &b , &c);
* * *** * ** ** ** *** ***** * **** * ** **
** * * * **** * * ** *** * ** , a);
* * * ** ******** ** ** ***** ** *** **
** * * * ****** * * ** * *** ** * ** , a);
* * * * * * ** **** * * ** * * ***** ** * *
***** *** * * * * * ** *** * * ** * , b);
**** *** * * * * * * * *** * *** ***** *
* *** * * * * * * * * ** ** * * * * * , b);
* * ** * * * *** * * * * *** **
*** * * * *** * ** * **** * * ***** * , c);
* * * * * *** * ** * **** * * * * * ** **
* * * ** ** *** * ** ** * ** * * ** , c);
* * * ** ** * *** ** ***
* * ******* * ** ******** ** * * ** * ** ** * *
** *** ** ***** **** ** * * 0;
}
answered
Oct 20, 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<stdlib.h>
int main()
{
***** * * *** * * ** * num[3],i,t;
* * ** * **** ** * ***** ** * * * *
**** *** * * *** ** * * * ** * * * * * ** * *
*** ** * ** * * ** ** ** ** * * * ** ***
** ** *** **** * *** * ** *****
** * * *** ** * * **** * ** *
{
** * ** *** ** * * * ***
***** **** * ** * ** *** *
* ** * * ** *** * * * ** *
* * *** *** ** * ** ** * ** **
* * * ** * * *** * * * ** *** ** *
* ** ****** * * * * **** 0;
}
answered
Oct 20, 2016
by
andreas lu
(
-188
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()
{
** * * ** * ** * ** ** * input[3] = {0},i = 0,j = 0;
* ** *** * * ** *** **
***** * **** *** * * * *** = 0;i < 3;i++)
* *** * * * * * * *** ** * ** ***** ****** * * input[i]);
* * * * * ** * *
** **** * * * * ** * = input[0];
* *** ** ** **** * * * * ** *
*** ** * ** * * ** * *** = 1;i < 3;i++)
* ** *** * * ** * ** * * ** < input[i])
* ** * * * * ** * *** * ** *** = input[i];
* * ** * **** * *** ** ** * * * * *
* *** ** * ***** * * ** * ** * * * * ** *
* **** * * * ** * **** * *
* ** * *** * ** * ******
* **** * * * * * * ** * *** **** **
*** * * * ** * ** ** ** * 0;
}
answered
Oct 20, 2016
by
謝秉弘
(
-264
points)
ask related question
comment
Please
log in
or
register
to add a comment.
Page:
« prev
1
2
3
4
5
6
next »
Welcome to Peer-Interaction Programming Learning System (PIPLS) LTLab, National DongHwa University
English
中文
Tiếng Việt
IP:172.69.58.232
©2016-2025
Related questions
0
like
0
dislike
21
answers
AD practice 4
[Normal]
Coding (C)
-
asked
Oct 13, 2016
in
2016-1 程式設計(一)AD
by
Shun-Po
(
18k
points)
ID: 13421 -
Available when:
Unlimited
-
Due to:
Unlimited
|
1.7k
views
0
like
0
dislike
23
answers
AD practice 3
[Normal]
Coding (C)
-
asked
Oct 11, 2016
in
2016-1 程式設計(一)AD
by
Shun-Po
(
18k
points)
ID: 13024 -
Available when:
Unlimited
-
Due to:
Unlimited
|
2.2k
views
sort
0
like
0
dislike
21
answers
AD practice 2
[Normal]
Coding (C)
-
asked
Oct 11, 2016
in
2016-1 程式設計(一)AD
by
Shun-Po
(
18k
points)
ID: 13022 -
Available when:
Unlimited
-
Due to:
Unlimited
|
2.1k
views
0
like
0
dislike
0
answers
Programming AD 檔案的存取教學影片1 (有六個影片)
[Resource]
asked
Dec 31, 2016
in
2016-1 程式設計(一)AD
by
laich
(
937
points)
ID: 20299 -
Available when:
Unlimited
-
Due to:
Unlimited
|
16
views
0
like
0
dislike
0
answers
Programming AD 二進位檔案介紹的教學影片1 (有三個影片)
[Resource]
asked
Dec 31, 2016
in
2016-1 程式設計(一)AD
by
laich
(
937
points)
ID: 20297 -
Available when:
Unlimited
-
Due to:
Unlimited
|
17
views
12,783
questions
183,442
answers
172,219
comments
4,824
users