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