home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!wupost!usc!srhqla!quest!kdq
- From: kdq@quest.UUCP (Kevin D. Quitt)
- Newsgroups: comp.lang.c
- Subject: Re: A different C puzzle
- Message-ID: <4FJBwB8w165w@quest.UUCP>
- Date: Thu, 24 Dec 92 19:27:14 PST
- References: <1992Dec23.185348.19343@sharebase.com>
- Reply-To: srhqla!quest!kdq
- Organization: Job quest (805) 251-8210, So Cal: (800) 400-8210
- Lines: 22
-
- keith@torme.sharebase.com (Keith Chambless) writes:
- > In article <1992Dec23.092712.2408@sq.sq.com> msb@sq.sq.com (Mark Brader) writ
- > >> > 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[], \
- ^^-------- sheesh!
- > c_fghjkpqrstvwxyz = -!9 + 8.0 / 7 > 6 < 5 % 4 ? 3 : 2 & 1;
- > }
- >
- >
- > missing are ' " \
-
-
- _
- Kevin D. Quitt 96.37% of all statistics are made up. srhqla!quest!kdq
-