Toggle navigation
Courses
Questions
Tags
Users
AC字串練習 輸入一個字串再讓其相反輸出
2
like
0
dislike
778
views
請撰寫一個程式,其程式讓使用者輸入一個字串,再讓使用者輸入的字串從尾到頭相反輸出。
範例輸入1 abcde
範例輸出1 edcba
範例輸入2 abcde12345
範例輸出2 54321edcba
[Normal]
Coding (C)
-
asked
Dec 21, 2016
in
2016-1 程式設計(一)AC
ID: 19745 -
Available when:
Unlimited
-
Due to:
Unlimited
reshown
Jan 5, 2017
by
Shun-Po
|
778
views
comment
Please
log in
or
register
to add a comment.
14
Answers
0
like
0
dislike
Hidden content!** * * * * * *** * *
* * * * * * *** ** *
int main(){
* ** ** ** * *** * * ***** a[80];
*** * * * * * * * *** i, len, tmp;
* * ** * ** * * ***** * ** * * ** a);
* *** * * **** * ** * * * ** * ** a);