Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
用java程式撰寫程式
May 13th 2013, 19:47

題目:

請設計一函數
該函數能判斷某個正整數是否為質數

請使用該函數撰寫程式
印出100以下的質數有哪些?

P.S.
我只學過 ~

if else while Math.random() break continue 非常基本的陣列 非常基本的函數

請用這些 ...

感謝 QQ

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: Thatcher's Tyrants - The Tanks, The Guns, The Christmas Cards.

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
    全站熱搜

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