Toggle navigation
Courses
Questions
Tags
Users
AC時間的比較(以結構方式完成)
1
like
0
dislike
345
views
讓使用者輸入三個時間,依照時間由晚到早輸出。
example input:
12 30 23 40 12 34
22 30 20 31 17 12
example output:
23:40 12:34 12:30
22:30 20:31 17:12
[Normal]
Essay (Open question)
-
asked
Dec 30, 2016
in
2016-1 程式設計(一)AC
ID: 20246 -
Available when:
Unlimited
-
Due to:
Unlimited
reshown
Jan 5, 2017
by
Shun-Po
|
345
views
comment
Please
log in
or
register
to add a comment.
3
Answers
0
like
0
dislike
Hidden content!#include <stdio.h>
typedef struct time{int hour;int min;}time;
int main (void)
{
time a[3];
int i,hour,time;