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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b50bc6538a649497 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: if statements Date: 2000/11/07 Message-ID: <8ua3s1$c4t$1@nnrp1.deja.com>#1/1 X-Deja-AN: 690993487 References: <3A02CED4.520C2768@brighton.ac.uk> <3A078B6F.D34B024B@erols.com> <8mTN5.7821$pq3.603668@news.flash.net> <3A0824BB.14ACCA12@bton.ac.uk> X-Http-Proxy: 1.0 x73.deja.com:80 (Squid/1.1.22) for client 166.72.71.31 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Nov 07 23:39:46 2000 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.61 [en] (OS/2; I) Date: 2000-11-07T00:00:00+00:00 List-Id: In article <3A0824BB.14ACCA12@bton.ac.uk>, John English wrote: > Unfortunately this sort of question gets marked by an > automated system, so the robotic instructor in question will, > I'm afraid, be deeply unimpressed. ;-) It's a shame when only a dumb answer is accepted. In particular I assume your robot would not know about the xor solution, which is in some sense the best. There are of course interesting solutions at the machine language level that do not require any jumps which are always fun :-) Sent via Deja.com http://www.deja.com/ Before you buy.