September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
7
Task/Map-range/BASIC/map-range-3.basic
Normal file
7
Task/Map-range/BASIC/map-range-3.basic
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
100 PROGRAM "MapRange.bas"
|
||||
110 LET A1=0:LET A2=10
|
||||
120 LET B1=-1:LET B2=0
|
||||
130 DEF MR(S)=B1+(S-A1)*(B2-B1)/(A2-A1)
|
||||
140 FOR I=0 TO 10
|
||||
150 PRINT I;"maps to ";MR(I)
|
||||
160 NEXT
|
||||
Loading…
Add table
Add a link
Reference in a new issue