in reply to List of Numbers
shall I guess give the mathematical implementation for the logic (just wrote not tested)map { ($x < $_)? print "[$num{$_}]\n;: ($x = ($_ + $num_before) /2)? print "[$num($_)]\n";: next; $num_before = $_;}sort keys %num;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: List of Numbers
by Aristotle (Chancellor) on Jan 18, 2003 at 21:56 UTC |