Computer Science, asked by sahrambahadur08, 19 days ago

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 nilladurga228
0

Explanation:

Please braliant mark please I hope you please

Attachments:
Similar questions