Post a cute, special, nice, extremely dumb, cute piece of code. Thing that you come over in your project or on other internet forums.
Well any language. Preferably those that can be read, I don't want binary here.
So any high level language/pseudo code/widely known language is fine.
So gere we go:
Code: Select all
// a nice, fair random number generator
int randomx(int x)
{
int y;
while y != 42
y=random(1000*x);
return (y);
}