Help for this page

Select Code to Download


  1. or download this
    print $_ if $_ % 2 while <INPUT>; # not legal in Perl, but in pseudo-B
    +ASIC-PLUS
    
  2. or download this
    $_ % 2 and print $_ while <INPUT>;
    
  3. or download this
    while (<INPUT>) { print $_ if $_ % 2 }