User:Mr. Blake
Appearance
#include <stdio.h>
#include <stdlib.h>
void clrscr(void)
{
int scr;
scr = 1;
while (scr < 26)
{
printf("\n");
scr = scr + 1;
}
}
int main()
{
int counter;
int a;
char name[ 256];
counter = 1;
clrscr();
printf("Hello. What is your name, user? ");
fgets ( name, 256, stdin );
for ( a = 0; a < 256; a++ )
{
if ( name[a] == '\n' )
{
name[a] = '\0';
break;
}
}
while (counter < 667)
{
printf("All work and no play makes %s", name);
printf(" a dull boy.\n");
counter = counter + 1;
}
printf("\nSorry. Too much wikipedia :)");
getchar();
return EXIT_SUCCESS;
}
Public PGP Key
pub 1024D/821CE965 2006-01-22 uid Ben Fraud (The Gumball) <yarr@mac.com>
Misc.
USA | This user wishes that the states would stop arguing about abortion |
yarr | This user believes that pirates are culturally significant |