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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,a00006d3c4735d70 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-01-11 02:56:43 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!news.tdcnorge.no!uninett.no!uio.no!newsfeed1.e.nsc.no!nsc.no!nextra.com!news4.e.nsc.no.POSTED!53ab2750!not-for-mail Sender: leifm@huldreheim.huldreskog.no Newsgroups: comp.lang.ada Subject: Re: Certified C compilers for safety-critical embedded systems References: From: Leif Roar Moldskred Message-ID: <86k73ysqn6.fsf@huldreheim.huldreskog.no> User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 80.212.73.168 X-Complaints-To: news-abuse@telenor.net NNTP-Posting-Date: Sun, 11 Jan 2004 11:56:42 MET X-Trace: news4.ulv.nextra.no 1073818602 80.212.73.168 Date: 11 Jan 2004 11:53:17 +0100 Xref: archiver1.google.com comp.lang.ada:4327 Date: 2004-01-11T11:53:17+01:00 List-Id: tmoran@acm.org writes: > Specification: the program will print, on January 30, 2004, the name > of the President of the United States on January 30, 2005. > That wasn't a hard spec to write - I await your implementation. ;) In pseudo-code: PRINT ( "There will be no President of the United States on January 30th, 2005" ) FOR EACH name in set_of_candidates_for_president DO PRINT( "The President of the United States on January 30th, 2005 will be " ) PRINT( name ) DONE Now, if your specification had explicitly stated that the program should print out _only_ the name of the person who will be president of the United States on January 30th, 2005, it would have been harder. -- Leif Roar Moldskred Got Sfik?