From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4117034ae215d480 X-Google-Attributes: gid103376,public From: "Robert L. Klungle" Subject: Re: Prime number program? Date: 1999/12/04 Message-ID: <384970C2.8F4BE91A@gte.net>#1/1 X-Deja-AN: 556637685 Distribution: world Content-Transfer-Encoding: 7bit References: <82bk0d$55b$1@saturn.bton.ac.uk> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Abuse-Info: Otherwise we will be unable to process your complaint properly X-Complaints-To: abuse@gte.net X-Trace: /wzbxY5C2cOD7a2lfWcDiMXn1jA+oKiILAazgxPorJ3AS6HBAKQ5z3c1oPGfsR/mUEH5BzuWl0H6!BXcrvUY8dW7AIXMAwyOJOoKLNPfswcWjsaFD0RnVbfv0mQo= Organization: B & D Associates MIME-Version: 1.0 NNTP-Posting-Date: Sat, 04 Dec 1999 19:52:21 GMT Newsgroups: comp.lang.ada Date: 1999-12-04T00:00:00+00:00 List-Id: Oly wrote: > Please help! > > I have to build an Ada program which tells the user if the number which they > have entered is a prime number or not. > I am still a newbie at Ada (and crap at maths)..and have spent many wasted > and frustring hours trying to solve the problem. > > Please help! > > (o_fox@hotmail.com); Hint: a prime number is any positive integer which is only divisible, with no remainder, by one (1) and itself.