Help for this page

Select Code to Download


  1. or download this
    use strict; 
    use warnings;
    ...
    print "N=$num, R=$root\n";
    
    #the rest is the same as you had it
    
  2. or download this
    use strict; 
    use warnings;
    ...
        ? $num/$near
        : $near
    ;