Re-write the given program after correct the bugs:
DECLARE FUNCTION reverse$ (N$)
INPUT "Any String"; N$
X$ = reverse$(NS)
PRINT N$
END
-
FUNCTION reverse (N$)
L = LENS(NS)
FOR X= L To 1 STEP - 1
A$ = MID$ (N$, X, 1)
B$ = B$ + A$
NEXT X
B$ = reverse$ (N$)
END FUNCTION
Answers
Answered by
0
Explanation:
Please braliant mark please I hope you please
Attachments:
Similar questions