Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!samsung!think!mintaka!ogicse!plains!grisanti From: grisanti@plains.UUCP (Ames Grisanti) Newsgroups: comp.sys.apple Subject: hyperC K&R standard? Message-ID: <3452@plains.UUCP> Date: 17 Feb 90 06:28:40 GMT Reply-To: grisanti@plains.UUCP (Ames Grisanti) Distribution: usa Organization: UND Energy Research Center Lines: 33 The following program is taken verbatium from THE C PROGRAMMING LANGUAGE, by Brian W. Kernigan and Dennis M. Ritchie. /* print Fahrenheit-Celsius table * for f = 0, 20,..., 300 */ main() { int lower, upper, step; double fahr, celsius; lower = 0; /* lower limit of temperature table */ upper = 300; /* upper limit */ step = 20; /* step size */ fahr = lower; while (fahr <= upper) { celsius = (5.0/9.0) * (fahr-32.0); printf("%4.0f %6.1f\n", fahr, celsius); fahr = fahr + step; } } Can anyone tell me why this will not compile under PRODOS HyperC? Ames Grisanti [grisanti@plains.NoDak.edu -- Internet] [grisanti@plains or ndsuvax -- Bitnet ] [uunet!plains!grisanti -- UUCP ]