program on prime numbers

2007-12-24 10:20 pm
I want to ask,

how do you write a program to display the prime numbers from 1-300 using the "Sieve of Eratosthenes"??

100000000000000000000x thx!!
P.S. V.URGENT!!!

回答 (1)

2007-12-25 12:25 am
✔ 最佳答案
I have wrote this sample C++ program for you, please see:
http://hk.geocities.com/camui_chai/prime_sieve.txt
參考: myself


收錄日期: 2021-04-25 13:21:08
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20071224000051KK02316

檢視 Wayback Machine 備份