Anonymous user
Map range: Difference between revisions
m
whitespace
(Added PureBasic) |
m (whitespace) |
||
Line 6:
The task is to write a function/subroutine/... that takes two ranges and a real number and returns the mapping of the real number from the first to the second range. Use this function to map the values of the integers 0 to 10 from the range [0, 10] to the range [-1, 0] in succession.
<!-- Someone want to add the LaTeX code? I'm not skilled with LaTeX. (And neither am I :-) -->
|