DECLARE SUB REV$(N$)
CLS
INPUT"ENTER STRING";N$
CALL REV$($)
END
SUB REV$(N$)
FOR I = LEN(N$) TO 1 STEP-1
B$ = MID$(N$,I,1)
C$= C$+B$
NEXT I
PRINT"REVERSE OF STRING";C$
END SUB
Subscribe to:
Post Comments (Atom)
Experience of COVID-19 and the cancellation of SEE.
As we know, that this pandemic disease has started from the Wuhan district of China. This viruswvirus discovered out on 31st December 2019 ...
-
As we know, that this pandemic disease has started from the Wuhan district of China. This viruswvirus discovered out on 31st December 2019 ...
-
DECLARE SUB PRIME (N) INPUT "ENTER ANY NUMBER"; N CALL PRIME (N) END SUB PRIME (N) C = 0 FOR I = 1 TO N IF N MOD I = 0 THE...
No comments:
Post a Comment