Jump to content

Loops/Wrong ranges: Difference between revisions

m
indented the test cases.
(Added Forth impl)
m (indented the test cases.)
Line 5:
Some languages have syntax or function(s) to generate a range of numeric values from a start value, a stop value, and an increment.
 
The purpose of this task is to select the range syntax/function that would generate at least two increasing numbers when given a stop value more than the start value and a positive increment of less than half the difference.   You are then to use that ''same'' syntax/function but with different parameters; and show, here, what would happen.
 
Use these values if possible:
::::: {| class="wikitable"
!start ||stop ||increment ||Comment
|-
Cookies help us deliver our services. By using our services, you agree to our use of cookies.