Help for this page

Select Code to Download


  1. or download this
    my @digit = reverse split //, $bin;
    
    ...
     $num = $num * 2 + $bit;
    }
    print "\n$num\n";