Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
11
Task/Map-range/ERRE/map-range.erre
Normal file
11
Task/Map-range/ERRE/map-range.erre
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
PROGRAM RANGE
|
||||
|
||||
BEGIN
|
||||
AL=0 AH=10
|
||||
BL=-1 BH=0
|
||||
FOR N=0 TO 10 DO
|
||||
RANGE=BL+(N-AL)*(BH-BL)/(AH-AL)
|
||||
WRITE("### maps to ##.##";N;RANGE)
|
||||
! PRINT(N;" maps to ";RANGE)
|
||||
END FOR
|
||||
END PROGRAM
|
||||
Loading…
Add table
Add a link
Reference in a new issue