Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
Get the newest, latest, hottest

Find shoes, heels, flats, active, essentials and more in the latest styles. Save up to 40% on select items.
From our sponsors
c語言 程式問題??????
Oct 17th 2013, 06:06

撰寫一個程式計算使用者輸入的整數值是否為質數(prime)。所謂質數,就是其因數只有1與自己。此程式可由使用者不斷輸入,直到輸入為 -1為止則停止判斷。

執行範例:
input vale: 32
32 is not a prime.

input value: 5
5 is a prime.

input value: 17
17 is a prime.

input value: -1
End

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. Five Filters recommends:

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
    全站熱搜
    創作者介紹
    創作者 qhhfl3xncebjd 的頭像
    qhhfl3xncebjd

    線上遊戲排行榜2013/2014,進擊的巨人線上看,candy crush saga外掛,正妹寫真三圍

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