Undelivered mail
MAILER%ALASKA.BITNET at CUNYVM.CUNY.EDU
MAILER%ALASKA.BITNET at CUNYVM.CUNY.EDU
Sat Mar 12 15:19:17 AEST 1988
Subject: Re: How not to write a loop
[Non-Deliverable: User does not exist or has never logged on]
Reply-To: Info-C at BRL.ARPA
Received: From UWAVM(MAILER) by ALASKA with Jnet id 6452
for SXJVK at ALASKA; Fri, 11 Mar 88 19:44 AST
Received: by UWAVM (Mailer X1.25) id 4316; Fri, 11 Mar 88 20:43:52 PST
Date: Thu, 10 Mar 88 13:36:07 GMT
Reply-To: Info-C at BRL.ARPA
Sender: Info-C List <INFO-C at NDSUVM1>
From: Gerald Edgar <gae at osupyr.uucp>
Subject: Re: How not to write a loop
Comments: To: info-c at brl-smoke.arpa
To: Vic Kapella <SXJVK at ALASKA>
Lengthy discussion about loops such as:
>>> float x;
>>> for (x = 0; x < 20; x += .5) printf("%f\n", x);
How about this:
float x;
for (x = 0; x < 19.75; x += .5) printf("%f\n", x);
--
Gerald A. Edgar TS1871 at OHSTVMA.bitnet
Department of Mathematics gae at osupyr.UUCP
The Ohio State University ...{akgua,gatech,ihnp4,ulysses}!cbosgd!osupyr!gae
Columbus, OH 43210 70715,1324 CompuServe
More information about the Comp.lang.c
mailing list