Re: How to determine odd or even number?

From: Gary Labowitz (glabowitz_at_comcast.net)
Date: 09/28/04


Date: Tue, 28 Sep 2004 08:12:29 -0400


"Tor Iver Wilhelmsen" <tor.iver.wilhelmsen@broadpark.no> wrote in message
news:ur7om3o1y.fsf@broadpark.no...
> vb9extra@yahoo.com (Lin) writes:
>
<<snip>>
> Solution: Loop using /10 as decrementor, extract digits using %10,
> increment count variables based on %2, and show at end. Still
> confused? Take shop instead of programming.

Don't recommend that! Have you ever tried to wire a three way switch? It
requires the same kind of logic as a couple of NAND and OR circuits. I
wouldn't want my house wired by a guy who can't figure out modulus operator!

-- 
Gary


Relevant Pages

  • Re: COBOL and DB2 vs. Java and DB2
    ... If one team 'defects' by writing a shop standard that cripples the other ... So what you posit, Mr Wagner, is a shop where there may exist two kinds of ... programming, ... Gresham's Law says bad money drives out good in two ways. ...
    (comp.lang.cobol)
  • Re: COBOL and DB2 vs. Java and DB2
    ... Robert wrote: ... If one team 'defects' by writing a shop standard that cripples the ... programming, ... Gresham's Law says bad money drives out good in two ways. ...
    (comp.lang.cobol)
  • Re: Mr. Jon Banquer - A Short History
    ... privilege of being around a "genius" owner who knows how to buy cheap ... Chinese Kurt knock off vises real cheap at auctions. ... I was commenting on using so many seats of shop floor ... programming systems & letting the operator do the programming ...
    (alt.machines.cnc)
  • Re: Cam programming is pretty cheap now.
    ... I don't do some contract programming from home? ... over 10 guys have called one shop hawking their services. ... Who cares what the software is, it's all the damn same in the ...
    (alt.machines.cnc)
  • Re: COBOL and DB2 vs. Java and DB2
    ... The purpose of shop standards is to keep people ... a local standard can be changed. ... programming, ... Gresham's Law says bad money drives out good in two ways. ...
    (comp.lang.cobol)

Loading