Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    my $wins = 0;
    ...
      if ($choice != $car) {$wins++} else {$lose++};
    }
    print "WINS = $wins!\nLOSE = $lose!\n";