Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!bu-cs!buengc!bph From: bph@buengc.BU.EDU (Blair P. Houghton) Newsgroups: comp.lang.c Subject: Re: programming challenge (silly) Message-ID: <2224@buengc.BU.EDU> Date: 9 Mar 89 18:01:41 GMT References: <2102@jasper.UUCP> <2128@laidbak.UUCP> <6639@saturn.ucsc.edu> Reply-To: bph@buengc.bu.edu (Blair P. Houghton) Followup-To: comp.lang.c Distribution: na Organization: Boston Univ. Col. of Eng. Lines: 16 In article <6639@saturn.ucsc.edu> kjell@saturn.ucsc.edu (Kjell Post) writes: >>> Can anyone beat [98 characters]? > >Count this: > >main(n,m){for(scanf("%d",&m);m>1&m<10;n*=m--); >printf(m-1?"error\n":"answer is %d\n",n);} It must have been a "me and my ftp" problem again, but the manual page for this program seems to have elided my grasp. Could someone mail me one? --Blair "I.e., 'compiles fine, but what does it do?'" 8-0 :-| |-) %-D