My pain is my motivation!!!!!
Read the post and Follow for more post
Wednesday, October 16, 2019
QBASIC to Reverse of Input string using SUB
DECLARE FUNCTION REV $ ( N$ )
CLS
INPUT "Enter name"; N$
PRINT "Reverse string is"; REV$ ( N$ )
END
FUNCTION REV$ ( N$ )
FOR I = LEN ( N$ ) TO 1 STEP -1
B$ = MID $ ( N$, I, 1)
C$ = C$ + B$
NEXT I
REV$ = C$
END FUNCTION
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Experience of JM
During my time in high school I had it really good moments, but my best moments that I've experienced are in a particular class during ...
My Father
My father My father name is Prem kumar Sunuwar.He is 39 years old.He is a mansion.He is my super hero of my life. He always help and su...
QBASIC to find Area of Circle using SUB
DECLARE SUB Area ( R ) CLS INPUT "Enter radius'; R CALL Area ( R ) END SUB Area ( R ) A = 22 / 7 * R ^ 2 PRINT "Area o...
No comments:
Post a Comment