Path: utzoo!hoptoad!amdcad!apple!bloom-beacon!tut.cis.ohio-state.edu!ucbvax!agate!helios.ee.lbl.gov!ncis.llnl.gov!lll-winken!uunet!tektronix!tekgen!tekred!ucsd.edu From: sdsu!frost@ucsd.edu (Richard Frost) Newsgroups: alt.sources Subject: bloom county madness Keywords: c source Message-ID: <3568@sdsu.UUCP> Date: 17 Mar 89 07:15:23 GMT Sender: billr@tekred.CNA.TEK.COM Organization: San Diego State University, Math/Sciences Dept. Lines: 57 Status: OR [This was originally submitted to comp.sources.games, but I think this is a more appropriate newsgroup for it. -br] /* Today ... "for the hip only" A BLOOM COUNTY FORBIDDEN WORD DECODER "In future dialogue (appearing in comic strip), a boxed forbidden word such as ACBQLLR may appear. To decipher: 1. Match the letters to their equivalent number in the alphabet, like this: A - 1 C - 3 B - 2 etc. 2. Then, to each number add 100, divide by PI, round off evenly, and subtract rock star Jon Bon Jovi's short size ... 3. Match the new numbers to the letters again! */ /* Comment: this may all be a hoax. Let's see if a short-size can be found which makes sense! */ #define real float main () { char w[6], *c = "ACBQLLR"; /* given in strip */ real pi = 3.14159; unsigned short int i, k, j, jmin = 14, jmax = 31; /* j is john's short-size; jmin, jmax determined by plugging Z, A into formula */ for (j = jmin; j <= jmax; j++) { /* loop thru possible j's */ printf("%-4u", j); for (i = 0; i < 7; i++) { k = c[i] - 64 + 100; /* just showing my work ... */ w[i] = ( ((real)k)/pi + 0.5 ) - j + 64; printf("%c", w[i]); } printf("\n"); } } /* Conclusion: at least the given code word is a hoax !! */ ---------------------- Richard Frost E-mail: sdsu!frost@ucsd.edu - a scientist is someone who learns more and more about less and less until they know everything about nothing! (Ziman)