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
15
Task/Reverse-a-string/ERRE/reverse-a-string.erre
Normal file
15
Task/Reverse-a-string/ERRE/reverse-a-string.erre
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
PROGRAM REVERSE_STRING
|
||||
|
||||
PROCEDURE REVERSE(A$->R$)
|
||||
LOCAL I%
|
||||
R$=""
|
||||
FOR I=1 TO LEN(A$) DO
|
||||
R$=MID$(A$,I,1)+R$
|
||||
END FOR
|
||||
END PROCEDURE
|
||||
|
||||
BEGIN
|
||||
A$="THE FIVE BOXING WIZARDS JUMP QUICKLY"
|
||||
REVERSE(A$->R$)
|
||||
PRINT(R$)
|
||||
END PROGRAM
|
||||
Loading…
Add table
Add a link
Reference in a new issue