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: John English Subject: Re: if statements Date: 2000/11/07 Message-ID: <3A081A33.48AC71C0@bton.ac.uk>#1/1 X-Deja-AN: 690823068 Content-Transfer-Encoding: 7bit References: <3A02CED4.520C2768@brighton.ac.uk> <8tup70$9281@news.cis.okstate.edu> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@bton.ac.uk X-Trace: saturn.bton.ac.uk 973609545 5631 193.62.183.204 (7 Nov 2000 15:05:45 GMT) Organization: University of Brighton Mime-Version: 1.0 NNTP-Posting-Date: 7 Nov 2000 15:05:45 GMT Newsgroups: comp.lang.ada Date: 2000-11-07T15:05:45+00:00 List-Id: David Starner wrote: > > 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. I certainly could if he bothered to ask... :-) ----------------------------------------------------------------- John English | mailto:je@brighton.ac.uk Senior Lecturer | http://www.it.bton.ac.uk/staff/je Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS ** University of Brighton | -- see http://burks.bton.ac.uk -----------------------------------------------------------------