Search This Blog

Wikipedia

Search results

Tuesday, October 1, 2019



QBASIC PROGRAM TO FIND REVERSE OF THE STRING .SUB

DECLARE SUB REV(N$)
CLS
INPUT "ENTER A WORD ";N$
CALL REV (N$)
END

SUB REV(N$)
FOR I = LEN(N$) TO 1 STEP -1
C$=C$+ MID$(N$,I,1)
NEXT I
PRINT "REVERSE STRING";C$
END SUB

No comments:

               Journey of Jagat Mandir H. S. School When I was at the age of three I joined the school in the village. When I came to K...