numbering game: guess a value
It was a short contest in IRC. Write a numbering game.
Anyway, i have lost: The winner realized it in 12 lines.
committer: Markus Bröker <mbroeker@largo.homelinux.org>
/**
* atoi_print.c
* Copyright (C) 2008 Markus Broeker
*/
#include <stdio.h>
#include <stdlib.h>
int main (int argc, char **argv)
{
unsigned int i;
for (i = 1; i < argc; i++)
printf ("atoi(%s):=%d\n", argv[i], atoi (argv[i]));
return EXIT_SUCCESS;
}