/* * Copyright (C) 2014 Tomasz Kramkowski * * This program is free software. It is licensed under version 3 of the * GNU General Public License. * * You should have received a copy of the GNU General Public License * along with this program. If not, see [http://www.gnu.org/licenses/]. */ #include #include #include #define ITERATIONS 1000 int main(int argc, char **argv) { srand(time(NULL)); int i, won = 0, lost = 0, opt, winopt, discard; for(i = 0; i