close
Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
Thousands of Free eBooks

BookBub brings you free & bargain national bestselling eBooks in the genres of your choice! Sign up now & join 1.5 million happy readers.
From our sponsors
C程問題-字串反轉如何做?? 急急急~20點
Oct 20th 2014, 04:05

寫一支程式可以將每一個單字按照每個字母出現的順序反序排列。

Input
輸入檔包含數列,每列各有數個單字。單字與單字間由空白字元分隔開來。

Output
輸出的列數與字數必須與輸入一樣。但是每個單字中的字母必須反序排列。

Sample Input

I love you.
You love me.
We're a happy family.

Sample Output

I evol .uoy
uoY evol .em
er'eW a yppah .ylimaf

------------------------------------------
說明:程式務必加上註解!!!!

This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜

    kkosk8eq8o7k4 發表在 痞客邦 留言(0) 人氣()