Xref: utzoo misc.jobs.offered:2418 comp.lang.c:19294 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!vax5!sc2y From: sc2y@vax5.CIT.CORNELL.EDU Newsgroups: misc.jobs.offered,comp.lang.c Subject: Re: 1000 lines of C a week? Message-ID: <18783@vax5.CIT.CORNELL.EDU> Date: 12 Jun 89 15:56:13 GMT References: <15526@pollux.UUCP> Sender: news@vax5.CIT.CORNELL.EDU Reply-To: sc2y@vax5.cit.cornell.edu (PUT YOUR NAME HERE) Distribution: na Organization: Cornell Information Technologies, Ithaca NY Lines: 24 In article <15526@pollux.UUCP> leff@smu.edu (Laurence Leff) writes: >A project needs a person with a proven capability of generating >a thousand lines of debugged C a week. Okay, how about this? /* compute square root of a number if less than 1000 */ float comp_sqrt(x) int x; { if (x == 1) return (sqrt(x)); else if (x == 2) return (sqrt (x)); else if (x == 3) return (sqrt (x)); /* ... et cetera ... */ else if (x == 999 ) return (sqrt (x)) ; else return (ERROR) ; } Do I get the job?