Toggle navigation
Courses
Questions
Tags
Users
AD practice 3
0
like
0
dislike
1.2k
views
請設計一個程式讓使用者輸入四個整數,程式會將四個數由大排到小輸出。
輸入範例
5566 183 9527 7533967
範例輸出
7533967 9527 5566 183
sort
[Normal]
Coding (C)
-
asked
Oct 11, 2016
in
2016-1 程式設計(一)AD
by
Shun-Po
(
18k
points)
ID: 13024 -
Available when:
Unlimited
-
Due to:
Unlimited
retagged
Oct 12, 2016
by
laich
|
1.2k
views
comment
Please
log in
or
register
to add a comment.
23
Answers
0
like
0
dislike
Hidden content!#include <stdio.h>
#include <stdlib.h>
int main()
{
int a[4]={0},i=0,j=0,temp;
* * * * * **** * * * i<4; i++)
* * ** * * ** * * * * * **** * * *** * * * * ***** * *** * * ** ** * * ** **
* * * ** *** * * * * * ** * ** i<3; i++)