Message-ID: <001001bfde00$00a45840$0500007b@brk> From: "Johan Henriksson" To: Subject: Re: prime numbers Date: Sat, 24 Jun 2000 19:16:54 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com >how can I write a program that displays all the prime numbers (numbers >that can only be divided by themselves and one) from 1 to N ?? Untested. Warning: for(itte=0;itte