Xref: utzoo comp.binaries.ibm.pc.d:5658 alt.sources:1314 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!van-bc!norsat!dbin From: dbin@norsat.UUCP (Dave Binette) Newsgroups: comp.binaries.ibm.pc.d,alt.sources Subject: 12 days of cbip Keywords: nothing Message-ID: <173@norsat.UUCP> Date: 17 Dec 89 22:29:51 GMT Organization: NII Norsat International Inc. Surrey, BC, CANADA Lines: 30 /* * this is a waste of time * but then... so is subscribing to cbip * */ #include main() { char * p; int i = 1; int r; while (i <= 12) { switch(i % 10) { case 1: p = "st"; break; case 2: p = "nd"; break; case 3: p = "rd"; break; default: p = "th"; break; } r = (i % 100); if((r > 9) && (r < 21)) p = "th"; printf("On the %d%s day of Christmas, usenet gave to me... nothing in c.b.i.p\n", i++,p); } exit(0); }