diff options
Diffstat (limited to 'lewisnumber.c')
-rw-r--r-- | lewisnumber.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lewisnumber.c b/lewisnumber.c new file mode 100644 index 0000000..963cedd --- /dev/null +++ b/lewisnumber.c @@ -0,0 +1,8 @@ +#include<stdio.h> +#include<stdlib.h> +#include<time.h> + +int main ( int argc, char *argv[] ) { + srand( time(NULL) ); + printf("Lewis, your number is %d.\n", rand()); +} |