From: d DOT vrabel AT n-shropshire DOT ac DOT uk (David Vrabel) Newsgroups: comp.os.msdos.djgpp Subject: Re: simple program problem!!! Date: Fri, 24 Apr 1998 07:01:25 GMT Organization: Staffordshire University Lines: 14 Message-ID: <3540384a.1343795@192.168.1.250> References: <6hn5ll$ilb$1 AT nnrp1 DOT dejanews DOT com> NNTP-Posting-Host: www.n-shropshire.ac.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk kenmel AT microtech DOT com DOT au wrote: >problem I have is - within the program how do I direct the program to >distinguish whether the value is an odd or even number? Check the Least Significant Bit. David. David Vrabel d DOT vrabel AT n-shropshire DOT ac DOT uk A poor student (aren't they all) at: North Shropshire College Oswestry, Shropshire, UK