Skip to main content
Search
Search This Blog
Good,Better,Best.Never let it rest.Till your good is better and better is best
Home
More…
Share
Get link
Facebook
X
Pinterest
Email
Other Apps
October 01, 2019
QBASIC PROGRAM TO DISPLAY REVERSE OF INPUT STRING (SUB)
DECLARE SUB REV$(S$)
CLS
INPUT "ENTER A STRING ";S$
CALL REV(S$)
END
SUB REV$(S$)
FOR I=LEN(N$) TO 1 STEP -1
B$=MID$(N$,I,1)
C$=C$+B$
NEXT I
REV$=C$
END SUB
Comments
subham kumar
April 12, 2020 at 4:08 AM
Well explained string operation .
there are good String program collection visit
Top String program
Reply
Delete
Replies
Reply
Add comment
Load more...
Post a Comment
Popular Posts
October 01, 2019
QBASIC PROGRAM TO DISPLAY 1, 1, 2, 3, 5, 8......Up To Ten Terms (SUB)
October 01, 2019
QBASIC PROGRAM TO FIND AREA OF TRIANGLE(SUB)
Well explained string operation .
ReplyDeletethere are good String program collection visit Top String program