Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Some simple math and absolute valuesby 1nickt (Canon) |
on May 23, 2020 at 03:20 UTC ( [id://11117141]=note: print w/replies, xml ) | Need Help?? |
Hi, I am not a math expert nor an algorithm expert nor a golfer, Perl or otherwise, but maybe something like this?
Output:
Hope this helps!
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|