|
![]() ![]() ![]() ![]() ![]() |
|||||
|
666 People - Saddam Hussein versus Bill Clintonby Peter Y. Woo, Biola Univ., 8/99In response to Monte Zerger's discovery (Math. Magazine, 1999) that Saddam Hussein has the number of the Antichrist, the following simple C program will show that not only he, but also "Bill Clinton" and "William Jefferson Clinton" too. However, Ronald Reagan and Abraham Lincoln are OK.
main() {int i,j,k,l,m,n; char x[80],*y;
for(;gets(x);) {if (!strlen(x)) break;
for (n=0,i=-10; i<=30; i++) for(j=1; j<=80; j++)
{for (m=0,y=x;*y; y++)if (*y>='A'&&*y<='Z'||*y>='a'&&*y<='z')
m+= i + j*((*y-1)&0x1f);
if (m==666){n++; printf("Watch out for this 666 person!");
printf(" (a,b,c,...)=(%d,%d,%d,...)n",
i,i+j,i+2*j);} }
if(!n)printf("He is OK.rn");} }
When you run the above C program, if you enter a name, it will find out whether the alphabetic characters add up to 666 according to some code where a,b,c,... represents the value i, i+j, i+2j, etc. Here is some sample output: Saddam Hussein Watch out for this 666 person! (a,b,c,...)=(-6,0,6,...) Bill Clinton Watch out for this 666 person! (a,b,c,...)=(0,6,12,...) William Jefferson Clinton Watch out for this 666 person! (a,b,c,...)=(8,10,12,...) Hillary Clinton Watch out for this 666 person! (a,b,c,...)=(25,27,29,...) Abraham Lincoln He is OK. Ronald Reagan He is OK. Peter Y Woo He is OK. | |||||
|
|
||||||