From: Tom Moran <tmoran@bix.com>
Subject: Re: comparing data
Date: 1997/10/02
Date: 1997-10-02T00:00:00+00:00 [thread overview]
Message-ID: <34349469.1486@bix.com> (raw)
In-Reply-To: Pine.OSF.3.91.971001211838.21484A-100000@condor.stcloudstate.edu
if A <= B and A <= C then return A;
elsif B <= A and B <= C then return B;
else return C;
end if;
Not the most efficient, or the most easily generalized, but it works.
Now, why don't you make it more efficient by using nested 'if's or
something?
next prev parent reply other threads:[~1997-10-02 0:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-01 0:00 comparing data Big B
1997-10-02 0:00 ` Peter Hermann
1997-10-02 0:00 ` Tom Moran [this message]
1997-10-03 0:00 ` Michael F Brenner
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox