home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!apple!voder!woodstock!news
- From: keith@torme.sharebase.com (Keith Chambless)
- Newsgroups: comp.lang.c
- Subject: Re: A different C puzzle
- Message-ID: <1992Dec23.185348.19343@sharebase.com>
- Date: 23 Dec 92 18:53:48 GMT
- References: <768@ulogic.UUCP> <1992Dec23.092712.2408@sq.sq.com>
- Reply-To: keith@torme.sharebase.com (Keith Chambless)
- Organization: NCR/ShareBase Corporation
- Lines: 16
-
- In article <1992Dec23.092712.2408@sq.sq.com> msb@sq.sq.com (Mark Brader) writes:
- >> > Write a [C] program that uses every valid character exactly once.
- >> I should think it would be rather difficult to use only one " ...
-
- Best I could come up with is:
-
- #
-
- main()
- {
- double *ABCDEFGHIJKLMNOPQRSTUVWXYZ[],
- c_fghjkpqrstvwxyz = -!9 + 8.0 / 7 > 6 < 5 % 4 ? 3 : 2 & 1;
- }
-
-
- missing are ' " \
-