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,b50bc6538a649497 X-Google-Attributes: gid103376,public From: pontius@btv.MBI.com.invalid (Dale Pontius) Subject: Re: if statements Date: 2000/11/13 Message-ID: <8uor2r$kl2$1@news.btv.ibm.com>#1/1 X-Deja-AN: 693061196 References: <3A02CED4.520C2768@brighton.ac.uk> <8tup70$9281@news.cis.okstate.edu> Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@btv.ibm.com X-Trace: news.btv.ibm.com 974122907 21154 9.66.91.77 (13 Nov 2000 13:41:47 GMT) Organization: IBM Global Services North -- Burlington, Vermont, USA Mime-Version: 1.0 NNTP-Posting-Date: 13 Nov 2000 13:41:47 GMT Newsgroups: comp.lang.ada Date: 2000-11-13T13:41:47+00:00 List-Id: In article <8tup70$9281@news.cis.okstate.edu>, dvdeug@x8b4e516e.dhcp.okstate.edu (David Starner) writes: > On Fri, 03 Nov 2000 14:42:28 +0000, sc297 wrote: >>can anyone show me an if statement that will swap the values of A and B, >>if A is the greater value > > Yes. I can, and I bet your teacher can too. > Over in comp.arch they treat 'homework' questions a little differently than here. It seems to be an invitation to come up with the most reasonable, yet outlandish answers possible. Makes for fun reading. Dale Pontius NOT speaking for IBM